POST Reorder
Rebuilds a past order as a new cart, priced at today's prices and with anything no longer available left out.
This is the replacement for the cart-scoped POST /cart/reorder, which is deprecated. Validate first so you can tell the customer what changed, then call this and treat the result like any other cart.
Calling it on a group order returns 1216.
Path Parameters
- Type: stringFormat: uuidorder
_uuid requiredOrder UUID
Headers
- Type: stringAcceptrequired
Type of content accepted by the API (application/json in most cases)
- Type: stringApplicationrequired
Application key for specific client app
- Type: stringContent
- Type requiredContent-Type header
- Type: stringA
P I - V E R S I O N requiredVersion of the API to be used
- Type: stringAuthorizationrequired
Bearer token of the signed-in customer. The order must belong to them
- Type: stringX
- Request - I D requiredUnique request identifier
Body
- Type: stringFormat: uuidvenue
_id Reorder into a different store. Defaults to the order's own venue.
Responses
- 200
The rebuilt cart, under
cart. - 400
1216this is a group order — use group-reorder - 401
Missing or invalid customer token.
- 404
The order does not exist, or does not belong to this customer.
curl https://api-public-demo.menu.app/api/orders/239e7982-3f23-11ed-936c-1a67b454859d/reorder \
--request POST \
--header 'Accept: application/json' \
--header 'Application: application-key' \
--header 'Content-Type: application/json' \
--header 'API-VERSION: ' \
--header 'Authorization: ' \
--header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937' \
--data '{
"venue_id": ""
}'
