Update company branch
Path parameters
company_branch_id
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
account_id
ID of the associated account
company_branch_id
ID of the company branch
name
Name of the company branch.
address
Address of the company branch.
district
District of the company branch.
city
City of the company branch.
phone
Phone of the company branch.
company_branch_tax_code
Tax code assigned to the company branch for fiscal and accounting purposes.
company_branch_internal_code
Internal code assigned to the company branch for identification within the system.
parent_company_branch_id
ID of the parent company branch.
user_permissions
Response
Product location updated successfully
account_id
ID of the associated account
company_branch_id
ID of the company branch
is_headquarters
Indicates whether the location is the company's headquarters. If the value is 1, it means this branch is the main office.
branch_type
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.
name
Name of the company branch.
address
Address of the company branch.
district
District of the company branch.
city
City of the company branch.
phone
Phone of the company branch.
company_branch_tax_code
Tax code assigned to the company branch for fiscal and accounting purposes.
company_branch_internal_code
Internal code assigned to the company branch for identification within the system.
parent_company_branch_id
ID of the parent company branch.
user_permissions