v1

latestOpenAPI 3.0.02026-07-1498671635.3 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

currencystring

Name of currency in ISO 4217 format

expirationDatestring date-time

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

friendlyOrderReferencestring

Just Eat friendly order reference

idstring

Claim identifier

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

Type of claim

orderIdstring

Just Eat order identifier

state'Open' | 'Closed'

Indicates whether a decision about the claim was made

submittedDatestring date-time

Date when the claim was submitted

totalClaimednumber

Total claimed money in smallest unit of relevant currency

Example response

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