Orders
GET /api/v1/orders
GET /api/v1/ordersResponse 200
200{
"data": [
{
"id": "ord_01H...",
"tenantId": "ten_01H...",
"orderNumber": "ORD-1714672883000",
"status": "draft",
"items": [{ "productId": "prod_01H...", "quantity": 2 }],
"totalCents": 9800,
"currency": "USD",
"createdAt": "2026-05-02T14:01:23Z"
}
],
"nextActions": [
{ "rel": "createOrder", "method": "POST", "href": "/api/v1/orders" }
]
}cURL
POST /api/v1/orders
POST /api/v1/ordersBody
Field
Type
Required
Description
Item shape
Field
Type
Description
Response 201
201Errors
Status
When
cURL
GET /api/v1/orders/{id}
GET /api/v1/orders/{id}Response 200
200Errors
Status
When
cURL
PATCH /api/v1/orders/{id}
PATCH /api/v1/orders/{id}Body (all optional)
Field
Type
Response 200
200Errors
Status
When
cURL
Related
Last updated
Was this helpful?
