Skip to main content

Create an order

POST 

/v1/orders

Creates an order and returns it.

Send exactly one of client (a customer you have not saved yet) or client_id (an existing client of your company). Use address_id for DELIVERY orders and table_id for TABLE orders.

The order starts as PENDING; move it forward with PATCH /v1/orders/{id}/status.

Requires an Idempotency-Key header; replaying the same key with the same body returns the original result.

Required scope: orders:write

Request

Responses

The created order.