Sites
Update a ShopSites' opening hour override
Update an existing override for a ShopSites' opening hours. Use this endpoint when you need to amend a previously created exception — for example, extending a holiday closure by a day, or adjusting the time window during which the site is open. All fields in the request body are optional, but date_from and date_to together must form a valid range, and if time_to is provided it must fall after time_from.
put/shop/sites/{siteId}/opening-hours-overrides/{openingHoursOverrideId}
Request body
Example request
{
"date_from": "2021-02-15",
"date_to": "2021-02-15",
"time_from": "11:00",
"time_to": "17:00"
}Response
The opening hour override was successfully updated.
Example response
{
"data": {
"date_from": "2021-02-15",
"date_to": "2021-02-15",
"time_from": "11:00",
"time_to": "17:00"
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.