Restaurants
publicly-accessible
Get all availabilities
Changed onGet all availabilities on the restaurant's menu
get/restaurants/{tenant}/{restaurantId}/catalogue/availabilities
Request
- Base URLhttps://uk.api.just-eat.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
tenantstring required
Request tenant.
restaurantIdstring required
The restaurant Id.
Query parameters
limitinteger required
The maximum number of availabilities to fetch.
afterstring
Value representing a cursor - position to use when retrieving the next page of data. If provided, the value of this parameter must be URL encoded.
Response
Request succeeded.
Example response
{
"availabilities": [
{
"id": "1-lunch-delivery",
"name": "Delivery Lunch",
"description": "Menu items available for delivery during weekdays for lunch.",
"serviceTypes": [
"delivery"
],
"times": [
{
"daysOfTheWeek": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday",
"sunday"
],
"fromDateTime": "11:30:00",
"toDateTime": "14:30:00"
}
]
},
{
"id": "1-dinner-delivery",
"name": "Delivery Dinner",
"description": "Menu items available for delivery during weekdays for dinner.",
"serviceTypes": [
"delivery"
],
"times": [
{
"daysOfTheWeek": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday",
"sunday"
],
"fromDateTime": "16:30:00",
"toDateTime": "22:00:00"
}
]
}
],
"paging": {
"cursors": {
"after": "NDMyNzQyODI3OTQw"
}
}
}Changes
- warning
the optional response header
Retry-Afterremoved for the status500
- warning