Headers
Value must be 'Bearer <token>' where <token> is an API key prefixed with 'bc_' or a JWT token.
Example:
"Bearer bc_1234567890abcdef"
Required if Authorization is a JWT token. The organization ID to operate within.
Path Parameters
Response
The branch has been successfully marked as primary.
Branch ID
Example:
1
Branch name
Example:
"Main Branch"
Branch code
Example:
"BR001"
Branch address
Example:
"123 Main Street"
Branch city
Example:
"New York"
Branch country
Example:
"USA"
Branch phone number
Example:
"+1-555-123-4567"
Branch email
Example:
Branch website
Example:
"https://www.example.com/branch"
Whether this is the primary branch
Example:
true
Creation timestamp
Example:
"2024-03-20T10:00:00Z"
Last update timestamp
Example:
"2024-03-20T10:00:00Z"