v1

latestOpenAPI 3.0.02026-07-1498671635.3 KB
Consumer Queries Webhooks
publicly-accessible

late order compensation query, restaurant response required

This webhook will be invoked when a late order compensation query has been raised and a restaurant response is required.

post/late-order-compensation-query

Request body

orderIdstring

Just Eat order identifier

restaurantIdstring

Just Eat restaurant identifier

tenantstring

Tenant (Country) of order restaurant.

Example request

{
  "CompensationOptions": [
    {
      "Amount": 200,
      "IsRecommended": false
    },
    {
      "Amount": 300,
      "IsRecommended": true
    },
    {
      "Amount": 400,
      "IsRecommended": false
    }
  ],
  "OrderId": "wiej234idf09i29jijgf4",
  "RestaurantId": "110230",
  "Tenant": "uk"
}

Response

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