openapi
//
Partially update an order
Update an existing order status. Order items cannot be changed - if they need to be updated, cancel the order and place a new one.
Security
OAuth2(Required scopes: orders:write)
- Mock serverhttps://cafe.redocly.com/_mock/openapi/cafe/orders/{orderId}
- Live server.https://api.cafe.redocly.com/orders/{orderId}
curl -i -X PATCH \
https://cafe.redocly.com/_mock/openapi/cafe/orders/ord_01h1s5z6vf2mm1mz3hevnn9va7 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"status": "placed"
}'Order updated successfully.
Order ID. Unique identifier prefixed with ord_.
Example:"ord_01h1s5z6vf2mm1mz3hevnn9va7"
Name of the customer who placed the order. Must start and end with a letter, and can contain letters, spaces, hyphens, and apostrophes (e.g., "John Doe", "Mary-Jane", "O'Brien").
Response
{ "id": "ord_01h1s5z6vf2mm1mz3hevnn9va7", "customerName": "Mary Ann", "orderItems": [ { … } ], "object": "order", "status": "completed", "totalPrice": 200, "createdAt": "2026-08-24T14:15:22Z", "updatedAt": "2026-08-24T14:15:22Z" }