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

Path parameters

orderIdstring required

Request body

Messagestring

Reason why this order is being cancelled.

Example request

{
  "Message": "Customer requested the order to be cancelled"
}

Response

OK

Changes

No recorded changes to this endpoint across all 1 revision of this API.