---
title: "Submit a restaurant response for the claim"
method: POST
path: "/restaurants/{tenant}/{restaurantId}/customerclaims/{id}/restaurantresponse"
tags: ["Restaurant Claims", "publicly-accessible"]
---

# Submit a restaurant response for the claim

`POST /restaurants/{tenant}/{restaurantId}/customerclaims/{id}/restaurantresponse`

## Request

- Base URL: `https://uk.api.just-eat.io`
- URL: `https://uk.api.just-eat.io/restaurants/{tenant}/{restaurantId}/customerclaims/{id}/restaurantresponse`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/just-eat/apis/just-eat-api/docs/restaurants/:tenant/:restaurantId/customerclaims/:id/restaurantresponse/post.ts> (a function with typed inputs; its response is checked against the schema)

Submit a restaurant response for the claim, where the restaurant can tell us if they accept or reject the claim

## Path parameters

- `tenant` string, required
- `restaurantId` string, required
- `id` string, required

## Headers

- `Content-Type` string, required

## Request body

- OrderClaimRestaurantResponse, nullable: Restaurant response for the claim
  - `decision` 'Accepted' | 'Rejected' | 'PartiallyAccepted': Decision on the claim
  - `items` ItemDecision[], nullable: Decisions on the items of a claim
    - `id` string: Item identifier
    - `decision` 'Accepted' | 'Rejected': Decision made about the item
  - `justification` Justification, nullable: The reason of the claim rejection and optional comments from the restaurant
    - `reason` 'AlreadyRefunded' | 'ItemReplaced' | 'PartialRefundRequired' | 'WasNotMissing' | 'WillRedeliver' | 'OrderWasHot' | 'OrderWasOnTime' | 'OrderWasPacked' | 'FoodWasIntact' | 'AddExtraItem' | 'Other': One of the predefined reasons
    - `comments` string, nullable: Comment from the restaurant owner in case they rejected at least one of the items and want to type their own rejection reason

## Response `201`

Request succeeded. Your response to the claim has been submitted

## Other responses

- `400`: Bad Request. Returned if the request is invalid e.g. decision value is incorrect
- `401`: Unauthorized. The client did not provide an authentication token or the token was invalid
- `403`: Forbidden. The client is not allowed to perform this action
- `404`: Not Found. Claim could not be found
- `409`: Conflict. The claim you are attempting to resolve is has been resolved
- `422`: Unprocessable. The claim you are attempting to update does not contain the items from the request
- `500`: Internal Server Error

## Changes

- **2026-07-13** `4b25c7d97a53`: 1 warning, 1 info
  - the optional response header `Retry-After` removed for the status `500`
  - the request's body became nullable

[Operation history](https://skmtc.dev/just-eat/apis/just-eat-api/changes/restaurants/:tenant/:restaurantId/customerclaims/:id/restaurantresponse/post.md)

---

[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)
