Preview a plan change discount
apiToken orders:readAuthorizationBearer <token>A personal API token: Authorization: Bearer dh_live_…. See Authentication for scopes.
Scope: orders:read
id*numberapplication/json- body
productId*numbercode*stringOperation completed or accepted; asynchronous actions may still be running.
application/json- response
code*stringdescription*null|stringdiffCents*numberdiscountCents*numbertotalCents*numbercurl -X POST 'https://api.deluxhost.net/v1/orders/0/plan-change/coupon' \ -H "Authorization: Bearer $DELUXHOST_TOKEN" \ -H 'Content-Type: application/json' \ -d '{ "productId": 0, "code": "string"}'{ "code": "string", "description": null, "diffCents": 0, "discountCents": 0, "totalCents": 0}Change the service plan POST
Requires confirm: true. Inspect the resource before retrying an uncertain outcome. Requires Idempotency-Key. Use the same key and payload to replay a completed response. A 409 for a pending or failed attempt requires checking the resource; a new key could duplicate a charge or purchase.
Cancel a pending plan change POST
Requires confirm: true. Inspect the resource before retrying an uncertain outcome. Requires Idempotency-Key. Use the same key and payload to replay a completed response. A 409 for a pending or failed attempt requires checking the resource; a new key could duplicate a charge or purchase.