Create a new order

Order processing flow
medium is indicated by the value M, use M
for the value.id to retrieve order status and updates.Request model for creating a new order.
Shipping address model.
Maximum price (in cents) allowed for an order before it is finalized.
Optional idempotency key to prevent duplicate orders. If not provided, one will be generated.
36Optional short ID (e.g., 'zn_acct_XXXXXXXX') of specific retailer credentials to use for this order. If not provided, credentials will be selected automatically.
Optional metadata to attach to the order. Can contain arbitrary key-value pairs.
Successful Response
Response model for order data.
pending, in_progress, order_placed, order_failed, cancelled