---
title: "Add reason and comments to the response"
method: PUT
path: "/restaurants/{tenant}/{restaurantId}/customerclaims/{id}/restaurantresponse/justification"
tags: ["Restaurant Claims", "publicly-accessible"]
---

# Add reason and comments to the response

`PUT /restaurants/{tenant}/{restaurantId}/customerclaims/{id}/restaurantresponse/justification`

Add reason and optional comments in case of rejection of order claim

## Path parameters

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

## Headers

- `Content-Type` string, required

## Request body

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

Request succeeded. Justification was successfully submitted

## Other responses

- `400` — Bad Request. Returned if the request is invalid e.g. reason doesn't match any of the predefined values
- `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 update is older than the current claim. Fetch the last copy of the entity and try the request again.
- `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)
