v1

latestOpenAPI 3.0.02026-07-1398671635.1 KB
Restaurant Claims
publicly-accessible

Add reason and comments to the response

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

put/restaurants/{tenant}/{restaurantId}/customerclaims/{id}/restaurantresponse/justification

Path parameters

tenantstring required

Two letter code indicating the tenant

restaurantIdstring required

Just Eat restaurant identifier

idstring required

Claim identifier

Headers

Content-Typestring required

Indicates the representation of the request body the client is sending (including version)

Request body

reason'AlreadyRefunded' | 'ItemReplaced' | 'PartialRefundRequired' | 'WasNotMissing' | 'WillRedeliver' | 'OrderWasHot' | 'OrderWasOnTime' | 'OrderWasPacked' | 'FoodWasIntact' | 'AddExtraItem' | 'Other'

One of the predefined reasons

commentsstring nullable

Comment from the restaurant owner in case they rejected at least one of the items and want to type their own rejection reason

Example request

{
  "reason": "Other",
  "comments": "The food was packed properly"
}

Response

Request succeeded. Justification was successfully submitted