v1
latestOpenAPI 3.0.02026-07-1398671635.1 KBRestaurants
publicly-accessible
Get service times
Gets the service times (the weekly times at which a restaurant is in service for delivery or collection) for a restaurant
get/restaurants/{tenant}/{restaurantId}/servicetimes
Path parameters
tenantstring required
Two letter code of restaurant's tenant
restaurantIdstring required
The restaurant identifier
Response
The restaurant's service times
Example response
{
"desiredServiceTimes": {
"monday": {
"collection": [
{
"start": "12:00:00",
"end": "14:00:00"
},
{
"start": "17:00:00",
"end": "23:00:00"
}
],
"delivery": [
{
"start": "12:00:00",
"end": "13:30:00"
},
{
"start": "18:00:00",
"end": "00:00:00"
}
]
},
"tuesday": {
"collection": [
{
"start": "12:00:00",
"end": "14:00:00"
},
{
"start": "17:00:00",
"end": "23:00:00"
}
],
"delivery": [
{
"start": "12:00:00",
"end": "13:30:00"
},
{
"start": "18:00:00",
"end": "00:00:00"
}
]
},
"wednesday": {
"collection": [
{
"start": "12:00:00",
"end": "14:00:00"
},
{
"start": "17:00:00",
"end": "23:00:00"
}
],
"delivery": [
{
"start": "12:00:00",
"end": "13:30:00"
},
{
"start": "18:00:00",
"end": "00:00:00"
}
]
},
"thursday": {
"collection": [
{
"start": "12:00:00",
"end": "14:00:00"
},
{
"start": "17:00:00",
"end": "23:00:00"
}
],
"delivery": [
{
"start": "12:00:00",
"end": "13:30:00"
},
{
"start": "18:00:00",
"end": "00:00:00"
}
]
},
"friday": {
"collection": [
{
"start": "12:00:00",
"end": "14:00:00"
},
{
"start": "17:00:00",
"end": "23:00:00"
}
],
"delivery": [
{
"start": "12:00:00",
"end": "13:30:00"
},
{
"start": "18:00:00",
"end": "00:00:00"
}
]
},
"saturday": {
"collection": [
{
"start": "12:00:00",
"end": "23:00:00"
}
],
"delivery": [
{
"start": "12:00:00",
"end": "00:00:00"
}
]
},
"sunday": {
"collection": [
{
"start": "12:00:00",
"end": "23:00:00"
}
],
"delivery": [
{
"start": "12:00:00",
"end": "00:00:00"
}
]
}
}
}