Order Acceptance API
publicly-accessible
Cancel order
Call when an order has been cancelled by Ops. Cancelling an order overrides any previous accept/reject calls. This should not be used for restaurant rejection but only from Ops involvement
put/orders/{orderId}/cancel
Request
- Base URLhttps://uk.api.just-eat.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
orderIdstring required
Request body
Example request
{
"Message": "Customer requested the order to be cancelled"
}Response
OK
Changes
No recorded changes to this operation across all 2 revisions of this API.