Restaurant Claims
publicly-accessible
Submit a restaurant response for the claim
Changed onSubmit a restaurant response for the claim, where the restaurant can tell us if they accept or reject the claim
post/restaurants/{tenant}/{restaurantId}/customerclaims/{id}/restaurantresponse
Request
- Base URLhttps://uk.api.just-eat.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Example request
{
"decision": "PartiallyAccepted",
"items": [
{
"id": "NJ7iYXNrZXRJdGVtLTM2NTc0GTk2LTMwNDY2LXMzOWJxb3hkb2V1cGR4OXc4ZXZvcnc1",
"decision": "Accepted"
},
{
"id": "NJ7iYXNrZXRJdGVtLTM2NTc0GTk2LTMwNDY2LXMzOWJxb3hkb2V1cGR4OXc4ZXZvcnc3",
"decision": "Rejected"
}
],
"justification": {
"reason": "Other",
"comments": "The food was packed properly"
}
}Response
Request succeeded. Your response to the claim has been submitted
Changes
- warning
the optional response header
Retry-Afterremoved for the status500 - info
the request's body became nullable
- warning