Create an order
Required headers
Idempotency-Key header is required for every order creation request.
Request
Request body
Always use the latest price returned by the Products endpoint as
expected_unit_price.Successful response
A newly created order returns201 Created.
content_available is true when at least one delivered item is available to retrieve.Idempotency
EveryPOST /orders request must include a unique Idempotency-Key.
This prevents duplicate purchases when a request is retried because of a timeout or network issue.
Same key and same request
Sending the same request again with the same key returns the original order.Same key and different request
Reusing the same key with different order data returns a conflict.List orders
Request
Response
Get an order
Request
Response
Order content
content_available is true.
Request
Response
Content fields
Order status
status represents the overall order status.
Item fulfillment status
Each order item has its ownfulfillment_status.
fulfillment_status applies to each individual item, while the order-level status represents the overall order state.
This allows to track fulfillment independently for each product in a multi-item order.
Delivery behavior
Delivery depends on the product’s currentdelivery_type.
The latest delivery type and availability should always be retrieved from the Products endpoint before creating an order.
Insufficient balance
If the account does not have enough available balance, the order is rejected.Required scopes
Creating orders requires:Order creation notes
Idempotency-Key is required for every POST /orders request.- Use the latest
pricereturned by the Products endpoint asexpected_unit_price. - Prices must be sent as strings with two decimal places, for example
"10.00". - If the price or availability changes before the order is created, the request is rejected.
- Reusing the same
Idempotency-Keywith the same request returns the original order without charging again. - Reusing the same
Idempotency-Keywith different order data returns anidempotency_conflict. - Delivered content should be requested only when
content_availableistrue.