---
title: "Order Eligible For Restaurant Compensation"
method: POST
path: "/order-eligible-for-restaurant-compensation"
tags: ["RestaurantQueries Webhooks", "publicly-accessible"]
---

# Order Eligible For Restaurant Compensation

`POST /order-eligible-for-restaurant-compensation`

## Request

- Base URL: `https://uk.api.just-eat.io`
- URL: `https://uk.api.just-eat.io/order-eligible-for-restaurant-compensation`
- Auth: none declared
- TypeScript: <https://skmtc.dev/just-eat/apis/just-eat-api/docs/order-eligible-for-restaurant-compensation/post.ts> (a function with typed inputs; its response is checked against the schema)

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

## Request body

- OrderEligibleForRestaurantCompensation
  - `IsEligible` boolean: Flag that informs if the cancelled order is eligible for compensation
  - `OrderId` string: Id for the order

## Response `200`

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

---

[API](https://skmtc.dev/just-eat/apis/just-eat-api.md) - [All operations](https://skmtc.dev/just-eat/apis/just-eat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/just-eat/apis/just-eat-api/revisions/4b25c7d97a53?raw)
