v1

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

Get order claim

Get information about a order claim

get/restaurants/{tenant}/{restaurantId}/customerclaims/{id}

Path parameters

tenantstring required

Two letter code indicating the tenant

restaurantIdstring required

Just Eat restaurant identifier

idstring required

Claim identifier

Headers

Acceptstring

Indicates what type of response client understands and is also used for content type negotiation (if version is specified), otherwise tells the server to return the latest version

Response

Request succeeded

idstring

Claim identifier

orderIdstring

Just Eat order identifier

friendlyOrderReferencestring

Just Eat friendly order reference

issueType'Missing' | 'Damaged' | 'Cold' | 'LateOrder' | 'FoodNotArrived'

Type of claim

submittedDatestring date-time

Date when the claim was submitted

expirationDatestring date-time

Date when the claim will be accepted automatically in case the owner of the restaurant ignores it

currencystring

Name of currency in ISO 4217 format

totalClaimednumber

Total claimed money in smallest unit of relevant currency

state'Open' | 'Closed'

Indicates whether a decision about the claim was made

Example response

{
  "id": "2f749442-a62a-abcd-8623-04202878e034",
  "orderId": "r23tqoxdoeupdx9w8evorw",
  "friendlyOrderReference": "451226580",
  "issueType": "Damaged",
  "submittedDate": "2020-05-20T14:22:11.1053368+00:00",
  "expirationDate": "2020-05-22T14:22:11.1053368+00:00",
  "currency": "GBP",
  "totalClaimed": 3800,
  "state": "Closed",
  "resolution": {
    "decision": "PartiallyAccepted",
    "totalClaimedAccepted": 1900,
    "resolvedDate": "2020-05-28T06:40:48.1053368+00:00",
    "resolvedChannel": "PartnerCentre"
  },
  "restaurantResponse": {
    "decision": "PartiallyAccepted",
    "items": [
      {
        "id": "NJ7iYXNrZXRJdGVtLTM2NTc0GTk2LTMwNDY2LXMzOWJxb3hkb2V1cGR4OXc4ZXZvcnc1",
        "decision": "Rejected"
      },
      {
        "id": "123iYXNrZXRJdGVtLTM2NTc0GTk2LTMwNDY2LXMzOWJxb3hkb2V1cGR4OXc4ZXZvcnc1",
        "decision": "Accepted"
      }
    ],
    "justification": {
      "reason": "Other",
      "comments": "The food was packed properly"
    }
  },
  "affectedItems": [
    {
      "id": "NJ7iYXNrZXRJdGVtLTM2NTc0GTk2LTMwNDY2LXMzOWJxb3hkb2V1cGR4OXc4ZXZvcnc1",
      "reference": "productid%4t56574596",
      "name": "Potato skin",
      "quantity": 1,
      "totalClaimed": 1900,
      "unitPrice": 2000,
      "additionalContext": "Potato skin was damaged",
      "decision": "Rejected"
    },
    {
      "id": "123iYXNrZXRJdGVtLTM2NTc0GTk2LTMwNDY2LXMzOWJxb3hkb2V1cGR4OXc4ZXZvcnc1",
      "reference": "productid%t5y6574596",
      "name": "Pizza",
      "quantity": 1,
      "totalClaimed": 1900,
      "unitPrice": 2000,
      "additionalContext": "Pizza was damaged too",
      "decision": "Accepted"
    }
  ]
}