Working Hours
Update store working hours
Retrieve or update the weekly serving hours that aggregators use to show store availability. Grubtech wii use GET to fetch the current schedule and PUT to replace the full weekly schedule.
put/stores/{storeId}/working-hours
Path parameters
storeIdstring required
Unique identifier of the store in Grubtech. This may be the Grubtech store ID or your external mapping ID.
Request body
Example request
{
"servingHours": [
{
"dayOfWeek": "MONDAY",
"timePeriods": [
{
"start": "00:00",
"end": "23:59"
}
]
},
{
"dayOfWeek": "TUESDAY",
"timePeriods": [
{
"start": "00:00",
"end": "23:59"
}
]
},
{
"dayOfWeek": "WEDNESDAY",
"timePeriods": [
{
"start": "00:00",
"end": "23:59"
}
]
},
{
"dayOfWeek": "THURSDAY",
"timePeriods": [
{
"start": "00:00",
"end": "23:59"
}
]
},
{
"dayOfWeek": "FRIDAY",
"timePeriods": [
{
"start": "00:00",
"end": "23:59"
}
]
},
{
"dayOfWeek": "SATURDAY",
"timePeriods": [
{
"start": "00:00",
"end": "23:59"
}
]
},
{
"dayOfWeek": "SUNDAY",
"timePeriods": [
{
"start": "00:00",
"end": "23:59"
}
]
}
]
}Response
Store working hours updated