ConsumerQueries
publicly-accessible
Update late order compensation request with Restaurant response
Changed onIf a customer has requested compensation for a late order, a restaurant response is given by calling this endpoint.
post/orders/{tenant}/{orderId}/consumerqueries/lateordercompensation/restaurantresponse
Request
- Base URLhttps://uk.api.just-eat.io
- Authnone declared. Required headers: Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
tenantstring required
Request tenant.
orderIdstring required
Id for the order.
Headers
Authorizationstring required
Containing a partner issued API key e.g. JE-API-KEY ABCDE123456789
Request body
Example request
{
"orderId": "69rqfxyfze2gjzf5nusdcw",
"isAccepted": true,
"acceptedAmount": 500
}Response
Accepted
Changes
- warning
the optional response header
Retry-Afterremoved for the status500
- warning