---
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`

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

---

[API](https://skmtc.net/just-eat/apis/just-eat-api.md) · [All operations](https://skmtc.net/just-eat/apis/just-eat-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/just-eat/just-eat-api/revisions/4b25c7d97a53/schema)
