Get order claim
Changed onGet information about a order claim
Request
- Base URLhttps://uk.api.just-eat.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Two letter code indicating the tenant
Just Eat restaurant identifier
Claim identifier
Headers
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
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"
}
]
}Changes
- breaking
the response property
//became nullable for the status - warning
the optional response header
Retry-Afterremoved for the status500 - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
removed from the
response propertyallOflist for the response status - info
removed from the
response propertyallOflist for the response status
- breaking