v1
latestOpenAPI 3.0.02026-07-1498671635.3 KBRestaurant Claims
publicly-accessible
Get claims
Provides claims for a given restaurant with optional filtering
get/restaurants/{tenant}/{restaurantId}/customerclaims
Path parameters
tenantstring required
Two letter code indicating the tenant
restaurantIdstring required
Just Eat restaurant identifier
Query parameters
fromDatestring date-time nullable
Start date limiter
toDatestring date-time nullable
End date limiter
limitinteger nullable
Pagination limit
offsetinteger nullable
Pagination offset
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
Example response
{
"claims": [
{
"currency": "GBP",
"expirationDate": "2020-05-22T14:22:11.1053368+00:00",
"friendlyOrderReference": "954226580",
"id": "z2749442-a62a-abcd-8623-04202878e034",
"issueType": "LateOrder",
"orderId": "z27tqoxdoeupdx9w8evorw",
"resolution": {
"decision": "Accepted",
"resolvedChannel": "OrderPad",
"resolvedDate": "2020-05-28T06:40:48.1053368+00:00",
"totalClaimedAccepted": 4000
},
"restaurantResponse": {
"decision": "Accepted",
"justification": null
},
"state": "Closed",
"submittedDate": "2020-05-20T14:22:11.1053368+00:00",
"totalClaimed": 4000
},
{
"affectedItems": [
{
"additionalContext": null,
"decision": "NotDecided",
"id": "NJ7iYXNrZXRJdGVtLTM2NTc0GTk2LTMwNDY2LXMzOWJxb3hkb2V1cGR4OXc4ZXZvcnc1",
"name": "Potato skin",
"quantity": 1,
"reference": "productid%4t56574596",
"totalClaimed": 1900,
"unitPrice": 2000
},
{
"additionalContext": null,
"decision": "NotDecided",
"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": null,
"restaurantResponse": null,
"state": "Open",
"submittedDate": "2020-05-20T14:22:11.1053368+00:00",
"totalClaimed": 3800
},
{
"affectedItems": [
{
"additionalContext": "Potato skin was cold",
"decision": "Rejected",
"id": "NJ7iYXNrZXRJdGVtLTM2NTc0GTk2LTMwNDY2LXMzOWJxb3hkb2V1cGR4OXc4ZXZvcnc1",
"name": "Potato skin",
"quantity": 1,
"reference": "productid%4t56574596",
"totalClaimed": 1900,
"unitPrice": 2000
}
],
"currency": "GBP",
"expirationDate": "2020-05-22T14:22:11.1053368+00:00",
"friendlyOrderReference": "151226580",
"id": "1f749442-a62a-abcd-8623-04202878e034",
"issueType": "Cold",
"orderId": "a23tqoxdoeupdx9w8evorw",
"resolution": {
"decision": "Rejected",
"resolvedChannel": "PartnerCentre",
"resolvedDate": "2020-05-28T06:40:48.1053368+00:00",
"totalClaimedAccepted": 0
},
"restaurantResponse": {
"items": [
{
"decision": "Rejected",
"id": "NJ7iYXNrZXRJdGVtLTM2NTc0GTk2LTMwNDY2LXMzOWJxb3hkb2V1cGR4OXc4ZXZvcnc1"
}
],
"justification": {
"comments": null,
"reason": "OrderWasHot"
}
},
"state": "Closed",
"submittedDate": "2020-05-20T14:22:11.1053368+00:00",
"totalClaimed": 1900
},
{
"affectedItems": [
{
"additionalContext": "Potato skin was cold",
"decision": "Accepted",
"id": "NJ7iYXNrZXRJdGVtLTM2NTc0GTk2LTMwNDY2LXMzOWJxb3hkb2V1cGR4OXc4ZXZvcnc1",
"name": "Potato skin",
"quantity": 1,
"reference": "productid%4t56574596",
"totalClaimed": 1900,
"unitPrice": 2000
}
],
"currency": "GBP",
"expirationDate": "2020-05-22T14:22:11.1053368+00:00",
"friendlyOrderReference": "951226580",
"id": "zf749442-a62a-abcd-8623-04202878e034",
"issueType": "Cold",
"orderId": "z23tqoxdoeupdx9w8evorw",
"resolution": {
"decision": "Accepted",
"resolvedChannel": "OrderPad",
"resolvedDate": "2020-05-28T06:40:48.1053368+00:00",
"totalClaimedAccepted": 1900
},
"restaurantResponse": {
"items": [
{
"decision": "Accepted",
"id": "NJ7iYXNrZXRJdGVtLTM2NTc0GTk2LTMwNDY2LXMzOWJxb3hkb2V1cGR4OXc4ZXZvcnc1"
}
],
"justification": null
},
"state": "Closed",
"submittedDate": "2020-05-20T14:22:11.1053368+00:00",
"totalClaimed": 1900
},
{
"affectedItems": [
{
"additionalContext": "Potato skin was cold",
"decision": "Accepted",
"id": "NJ7iYXNrZXRJdGVtLTM2NTc0GTk2LTMwNDY2LXMzOWJxb3hkb2V1cGR4OXc4ZXZvcnc1",
"name": "Potato skin",
"quantity": 1,
"reference": "productid%4t56574596",
"totalClaimed": 1900,
"unitPrice": 2000
},
{
"additionalContext": "Meat was terribly cold",
"decision": "Rejected",
"id": "NJ7iYXNrZXRJdGVtLTM2NTc0GTk2LTMwNDY2LXMzOWJxb3hkb2V1cGR4OXc4ZXZvcnc3",
"name": "Meat",
"quantity": 1,
"reference": "productid%4t56574593",
"totalClaimed": 2900,
"unitPrice": 3000
}
],
"currency": "GBP",
"expirationDate": "2020-05-22T14:22:11.1053368+00:00",
"friendlyOrderReference": "951226588",
"id": "zf749442-a62a-abcd-8623-04202878e038",
"issueType": "Cold",
"orderId": "z23tqoxdoeupdx9w8evorz",
"resolution": {
"decision": "PartiallyAccepted",
"resolvedChannel": "OrderPad",
"resolvedDate": "2020-05-28T06:40:48.1053368+00:00",
"totalClaimedAccepted": 1900
},
"restaurantResponse": {
"items": [
{
"decision": "Accepted",
"id": "NJ7iYXNrZXRJdGVtLTM2NTc0GTk2LTMwNDY2LXMzOWJxb3hkb2V1cGR4OXc4ZXZvcnc1"
},
{
"decision": "Rejected",
"id": "NJ7iYXNrZXRJdGVtLTM2NTc0GTk2LTMwNDY2LXMzOWJxb3hkb2V1cGR4OXc4ZXZvcnc3"
}
],
"justification": null
},
"state": "Closed",
"submittedDate": "2020-05-20T14:22:11.1053368+00:00",
"totalClaimed": 1900
}
]
}