API

Create a branch

POST/api/crm/v2/branches.addv2
operationId: branches.add

Authorization

api-token + language + role

Request body application/json

object
branch_idintegerrequired

Example: 1

city_idintegerrequired

Example: 1

branch_namestringrequired

Example: Ice cream shop

copy_itemsboolean

Example: true

copy_special_offersboolean

Example: true

Responses

OK

object
statusstringrequired

Values:successerror

Example: success

dataobject
idinteger

Example: 8794

tokenstring

Example: 6e0d9c6b6d1b8860348e1a0f313f0a16