v1

latestOpenAPI 3.0.02026-07-1498671635.3 KB
Order Acceptance Webhooks
publicly-accessible

Order rejected

This webhook will be invoked whenever the order was rejected.

post/order-rejected

Request body

Eventstring
RejectedAtstring date-time
RejectedBystring
RejectedReasonstring

Example request

{
  "Event": "OrderRejected",
  "RejectedAt": "2018-03-10T14:45:28Z",
  "RejectedBy": "123456",
  "RejectedReason": "Kitchen overloaded"
}

Response

Respond with a 200 status code to indicate that you have received the notification.