API

Create a chain

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

Creates a chain in the current account and immediately switches the user to it. The name must be unique within the city.

Authorization

api-token + language + role

Request body application/json

object
city_idintegerrequired

Example: 1

namestringrequired

Example: Green Basket

Responses

OK

object
statusstringrequired

Values:successerror

Example: success

dataobject