Holiday Hours for Locations

Purpose

Define specific days and hours when a store should remain closed due to holidays e.g. during festive seasons or special occasions.

Request Body

The request body should be in JSON format and include an array of location objects, each containing the location’s unique identifier (id) and an array of holiday periods during which the store should remain closed.

Deleting Holiday Hours

In order to delete the holiday hours, send an empty "holidays": [ ].

{
  "locations": [
    {
      "id": "65***********aa56be7b63",
      "holidays": []
    }
  ]
}
Body Params

Define specific days and hours when a store should remain closed due to holidays. Useful for managing store hours during festive seasons or special occasions.

locations
array of objects
required

Locations whose holiday hours you want to update. Each object contains the location's id and the holiday periods during which it should remain closed.

locations*
Response

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