/bff/branch/save-opening-hours
Replaces ALL existing regular opening hours for the branch in a single batch. Previous rows are soft-deleted (deleted_date set) and fresh rows are inserted. Exceptions are not affected.
BranchpostBffBranchSave-opening-hours
Parameters
2 body
Body · 2
slugstringRequiredBranch slug.
hoursobject[]Required6 fieldsRequest
POST /bff/branch/save-opening-hours
curl -X POST "https://api.bizkithub.com/bff/branch/save-opening-hours" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"slug": "example_slug",
"hours": [
{
"dayOfWeek": 0,
"definition": "example_definition",
"description": "example_description",
"active": false
}
]
}'Response
JSON payload
{
"success": false
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.