DocsAPI ReferenceBranch/bff/branch/save-address
postBranchAdmin BFF

/bff/branch/save-address

Creates or updates the address linked to a branch. If the branch already has an address, its fields are updated. Otherwise a new address record is created and linked. Returns the external address ID.

BranchpostBffBranchSave-address

Parameters

11 body

11 total
Body · 11
slugstringRequired

Branch slug.

firstNamestring
lastNamestring
companyNamestring
streetAddressstring
citystring
cityPartstring
stateRegionstring
postalCodestring
countrystring

ISO 3166-1 alpha-2 country code. Defaults to org default.

noticestring

Request

POST /bff/branch/save-address

post
curl -X POST "https://api.bizkithub.com/bff/branch/save-address" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "slug": "example_slug",
  "firstName": "example_firstName",
  "lastName": "example_lastName",
  "companyName": "example_companyName",
  "streetAddress": "example_streetAddress",
  "city": "example_city",
  "cityPart": "example_cityPart",
  "stateRegion": "example_stateRegion",
  "postalCode": "example_postalCode",
  "country": "example_country",
  "notice": "example_notice"
}'

Response

JSON payload

{
  "success": false,
  "addressId": "example_addressId"
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key