Place an order
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.
apiToken orders:createAuthorizationBearer <token>A personal API token: Authorization: Bearer dh_live_…. See Authentication for scopes.
Scope: orders:create
Idempotency-Key*stringUnique per account and operation. Reuse only for an identical request. Completed requests replay the encrypted stored response; pending or failed attempts return 409 and are never automatically rerun.
1 <= length <= 128application/json- body
items*array<>couponCode?stringdisclaimer?Budget-VPS disclaimer accepted by the customer: version and locale of the disclaimer the quote returned. Required when the cart holds a plan that needs it; refused otherwise with details.code disclaimer_required.
confirm*booleanOperation completed or accepted; asynchronous actions may still be running.
application/json- response
orderId*numberorderIds*array<number>invoiceId*numberinvoiceNumber*stringtotalCents*numbercurl -X POST 'https://api.deluxhost.net/v1/orders' \ -H "Authorization: Bearer $DELUXHOST_TOKEN" \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "items": [ { "productSlug": "string", "cycle": "string" } ], "confirm": true}'{ "orderId": 0, "orderIds": [ 0 ], "invoiceId": 0, "invoiceNumber": "string", "totalCents": 0}