v1

latestOpenAPI 3.0.02026-07-1498671635.3 KB
RestaurantQueries Webhooks
publicly-accessible

Order Eligible For Restaurant Compensation

This webhook will be invoked for every cancelled order and it will inform if the order is eligible for compensation.

post/order-eligible-for-restaurant-compensation

Request body

IsEligibleboolean

Flag that informs if the cancelled order is eligible for compensation

OrderIdstring

Id for the order

Example request

{
  "IsEligible": true,
  "OrderId": "c9639af6-04a3-4376-bb4b-5e95cc8b80eb"
}

Response

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