Get Hours Widget
Loads a published hours widget.
data is an array of hour types (for example “Base”, “Happy Hour”), each with:
regularHours[]: one entry perdayOfTheWeek(SUNDAYtoSATURDAY) withisOpen,is24Hoursandperiod[]of{ startTime, endTime }inHH:mm(24h).exceptionalHours[]: same shape keyed bydate. The API normalizes it toYYYY-MM-DD.isTemporarilyClosed: when true, the widget shows a closed state.position: optional sort order.
config: alignment, maxColumns, timeFormat (h12 | h24), firstDayOfWeek (sunday | monday | currentDay), dayFormat (short | full), groupWeekdays, hideCurrentDayHighlight, hideDaysWithoutHours, hideOpenStatus, plus header/body fonts and colors.
store is optional.
Set the hoursWidgetId collection variable to a published hours widget id.
Query parameters
widgetType
Required. Must be hours.
Response headers
ETag
Cache-Control
Access-Control-Allow-Origin
Access-Control-Expose-Headers
Response
OK
id
geo
data
type
store
config
createdAt
updatedAt
