v1

latestOpenAPI 3.0.02026-07-1498671635.3 KB
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