v1

latestSwagger 2.02026-08-045928532.7 MB
Orders

post/api/v1.0/orders/{id}/reject

Path parameters

idinteger required

Request body

RejectReason'TooBusy' | 'FoodUnavailable' | 'UnableToDeliver' | 'UnknownAddress' | 'UnknownReason' | 'TooSoon' | 'TimeUnavailable' | 'DontDeliverToArea' | 'StoreUncontactable' required

Reject reason.

DoNotNotifyCustomerboolean

Notify customer. The server will not send and SMS to the customer if the value is true.

Example request

{
  "RejectReason": 0,
  "DoNotNotifyCustomer": false
}

Response

The order is successfully rejected.