Create Draft Order
Creates an order in draft state without sending it to production. Use this to prepare an order — for example while a customer is still checking out — and later call Complete Draft Order to hand it over for production, or Update/Delete Draft Order to adjust or discard it first. Processing happens asynchronously; poll the returned job or use webhooks for the result.
AuthorizationBearer
Authorization
default In: header
Header Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/draft-orders" \ -H "X-Api-Version: 2022-02-01" \ -H "Content-Type: application/json" \ -d '{ "customer": { "email": "[email protected]" }, "items": [ { "quantity": 1, "variant": { "type": "basic", "id": 1 } } ], "shipments": [ { "shipping_method": { "handle": "noLabel" } } ], "shipping_address": { "first_name": "System", "last_name": "User", "street1": "Example Street 1", "zip": "10115", "city": "Berlin", "country_code": "DE", "phone": "+49123456789", "email": "[email protected]" }, "payments": [ { "payment_method": { "handle": "invoice" } } ] }'{}List Draft Order GET
Returns the draft orders for this app — orders that have not yet been completed and handed over to production. Filter by ID, external identifier, external reference, or creation/update date range.
Show Draft Order GET
Returns a single draft order by ID, before it has been completed and handed over to production.