post
https://api.staging.deliverect.com/locations/holidays
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": []
}
]
}