v1

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

Submit a restaurant response for the claim

Submit 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

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

decision'Accepted' | 'Rejected' | 'PartiallyAccepted'

Decision on the claim

Example request

{
  "decision": "PartiallyAccepted",
  "items": [
    {
      "decision": "Accepted",
      "id": "NJ7iYXNrZXRJdGVtLTM2NTc0GTk2LTMwNDY2LXMzOWJxb3hkb2V1cGR4OXc4ZXZvcnc1"
    },
    {
      "decision": "Rejected",
      "id": "NJ7iYXNrZXRJdGVtLTM2NTc0GTk2LTMwNDY2LXMzOWJxb3hkb2V1cGR4OXc4ZXZvcnc3"
    }
  ],
  "justification": {
    "comments": "The food was packed properly",
    "reason": "Other"
  }
}

Response

Request succeeded. Your response to the claim has been submitted