Skip to main content

Opening hours

note

These articles use the stores import formats to describe stores, most important for producers of the store data (e.g. POS system integration creating stores). Since a store can contain tenant-specific extensions, use the Stores schema endpoints in your specific tenant to understand details on consuming store data.

openingHours is an ordered list of rules. The first rule where all conditions evaluate to true is used for the current date.

This means the order of opening hours are important: place specific exceptions before broad fallback rules.

Opening hours rule model

FieldTypeRequiredDescriptionExample
conditionsarrayYesOne or more conditions that must all match.[{ "type": "dayofweek", "days": ["Monday"] }]
openarrayYesThe open interval(s) to apply when conditions match. Empty array means closed for matching dates.[{ "from": "08:00", "to": "14:00" }]

Condition types

always

FieldTypeRequiredDescriptionExample
typestringYesConstant value always; always matches."always"

never

FieldTypeRequiredDescriptionExample
typestringYesConstant value never; never matches."never"

dayofweek

FieldTypeRequiredDescriptionExample
typestringYesConstant value dayofweek."dayofweek"
daysarray<string>YesDays that should match. Allowed: Monday ... Sunday.["Monday", "Tuesday"]

specificdates

FieldTypeRequiredDescriptionExample
typestringYesConstant value specificdates."specificdates"
datesarray<string(date)>YesExplicit dates that should match.["2026-12-24", "2026-12-31"]

betweendates

FieldTypeRequiredDescriptionExample
typestringYesConstant value betweendates."betweendates"
fromInclstring(date)YesInclusive start date."2026-06-01"
toInclstring(date)YesInclusive end date."2026-08-31"

Open interval fields

FieldTypeRequiredDescriptionExample
fromstring(HH:mm)YesOpening time for the interval."08:00"
tostring(HH:mm)YesClosing time for the interval."14:00"
toNextDaybooleanNoWhen true, to is interpreted as next day.true

Example with exception and fallback

{
"openingHours": [
{
"conditions": [
{
"type": "specificdates",
"dates": ["2026-12-24"]
}
],
"open": []
},
{
"conditions": [
{
"type": "dayofweek",
"days": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"]
}
],
"open": [
{
"from": "08:00",
"to": "16:00"
}
]
},
{
"conditions": [
{
"type": "always"
}
],
"open": [
{
"from": "00:00",
"to": "00:00",
"toNextDay": true
}
]
}
]
}

In this example, 24 Dec is closed, weekdays are open 08:00–16:00, and a final fallback covers all remaining days with open 24 hours each day.