Update Opening Hours

Purpose

Set opening hours for a given location and/or apply unique opening hours per channel(s) within a location.

Format

Opening hours are defined as time ranges specified for a given weekday (dayOfWeek), and multiple non-overlapping ranges can be defined for the same day. Time ranges must not overlap. Opening hours can be set independently at two levels: within "locations": [] for the location itself, and within "channels": [] for individual channels.

Channel opening hours
Channel-specific opening hours must be defined within the location's opening hours and cannot extend beyond them.

Publish Opening Hours

When opening hours are updated to Deliverect, these will be communicated to ordering platforms within the next menu publish event. additional attribute triggerUpdate where equal to true will trigger a re-publishing of all existing menus. This will in turn update the opening times on each associated merchant store. If updating the opening hours where no action to publish updates is intended, triggerUpdate should be set as false

Closed Days
Any week day not included in the payload is assumed to be a day where the store does not open

Opening times past midnight

Opening hours can't cross midnight in a single time range as each range must stay within one 24hr period. To represent hours that run past midnight, split them into two entries.

As an example, a store opening 10am–2am will need two ranges;

1st Range (current day): "startTime": "10:00" → "endTime": "23:59"
2nd Range (next day): "startTime": "00:00" → "endTime": "02:00"

Body Params

Set opening hours for a given location and/or apply unique opening hours per channel(s) within a location. Multiple non-overlapping time ranges can be applied to a single weekday, at both location and channel level. Any weekday not included in the payload is assumed to be a day the store does not open.

locations
array of objects
required

Locations whose opening hours you want to update.

locations*
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json