DocsAPI ReferenceBranch/bff/branch/save-opening-hours
postBranchAdmin BFF

/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

2 total
Body · 2
slugstringRequired

Branch slug.

hoursobject[]Required6 fields

Request

POST /bff/branch/save-opening-hours

post
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.

Get API Key