/bff/branch/update
Updates editable fields of a branch. Only provided fields are changed; undefined fields are preserved. Null values explicitly clear nullable fields.
BranchpostBffBranchUpdate
Parameters
20 body
Body · 20
slugstringRequiredBranch slug (used to identify the branch).
namestringNew branch display name.
Length: 1–∞
descriptionstring | nullinternalCodestring | nullurlstring | nullactivebooleanWhether the branch is active.
latitudenumber | nulllongitudenumber | nullbranchContactIdstring | nullestablishedDatestring | nullopenedDatestringDate the branch started serving customers (ISO timestamp). Drives the financial roll-up bucket key. Cannot be null — every branch must have an opened date.
Length: 1–∞
termsAndConditionsstring | nullcomplaintsProcedurestring | nullprivacyPolicystring | nullinternalDescriptionstring | nullstaffInstructionsstring | nullaiInstructionsstring | nullbranchTypestring | string | stringBranch kind. Cannot be null — defaults to "own" if never set.
parentBranchSlugstring | nulloperatingCompanyContactRefstring | nullRequest
POST /bff/branch/update
curl -X POST "https://api.bizkithub.com/bff/branch/update" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"slug": "prague-central",
"name": "example_name",
"active": false,
"openedDate": "example_openedDate"
}'Response
JSON payload
{
"success": false,
"slug": "example_slug"
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.