Update company branch

Path parameters

company_branch_idstringRequired

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
account_idintegerOptional
ID of the associated account
company_branch_idintegerOptional
ID of the company branch
namestringOptional
Name of the company branch.
addressstringOptional
Address of the company branch.
districtstringOptional
District of the company branch.
citystringOptional
City of the company branch.
phonestringOptional
Phone of the company branch.
company_branch_tax_codestringOptional
Tax code assigned to the company branch for fiscal and accounting purposes.
company_branch_internal_codestringOptional
Internal code assigned to the company branch for identification within the system.
parent_company_branch_idintegerOptional
ID of the parent company branch.
user_permissionsobjectOptional

Response

Product location updated successfully
account_idinteger or null
ID of the associated account
company_branch_idinteger or null
ID of the company branch
is_headquartersinteger or null
Indicates whether the location is the company's headquarters. If the value is 1, it means this branch is the main office.
branch_typeinteger or null

Defines the type of branch. If the value is 1, it is a physical (real) branch. If the value is 2, it is a virtual branch.

namestring or null
Name of the company branch.
addressstring or null
Address of the company branch.
districtstring or null
District of the company branch.
citystring or null
City of the company branch.
phonestring or null
Phone of the company branch.
company_branch_tax_codestring or null
Tax code assigned to the company branch for fiscal and accounting purposes.
company_branch_internal_codestring or null
Internal code assigned to the company branch for identification within the system.
parent_company_branch_idinteger or null
ID of the parent company branch.
user_permissionslist of objects or null

Errors