API

Get a list of branches

GET/api/crm/v2/branchesv2
operationId: branches.default

Authorization

api-token + language + role

Query parameters

page_numberinteger

Example: 1

chain_idinteger
branch_idinteger

Responses

OK

object
statusstringrequired

Values:successerror

Example: success

dataobject
One of the options
object
filtersobject
branch_idobject (FilterSelectInteger)
valueinteger

Example: 8920

typestringrequired

Example: select

optionarray of object
valueintegerrequired

Example: 8920

namestringrequired

Example: Green Basket | Kaliningrad

modestring (FilterMode)

How the interface handles the filter; a regular filter does not have mode.
force_shown — always displayed, cannot be hidden.
value_required — entry point to the section: always displayed, cannot have an empty value (until a value is selected, the list is empty; there is no "all" option), global reset does not clear it.

Values:force_shownvalue_required

Example: value_required

listarray of object
idintegerrequired

Example: 1

datestring (DataTimeFormatSQL) required

Example: 2024-05-02 08:31:16

branch_namestring

Example: Don't touch

chain_idintegerrequired

Example: 1

publishedbooleanrequired

Example: true

branch_balancenumberrequired

Example: 1000

feedback_enabledbooleanrequired

Example: true

email_for_feedbackstring

Example: example@example.com

preorder_in_work_timeboolean

Example: true

preorder_enableboolean

Example: true

preorder_alwaysboolean

Example: true

preorder_delivery_minimum_minutesinteger

Example: 0

preorder_delivery_maximum_daysinteger

Example: 3

preorder_pickup_minimum_minutesinteger

Example: 10

preorder_pickup_maximum_daysinteger

Example: 1

order_auto_confirm_enabledboolean

Example: true

order_auto_confirm_delay_minutes_weekdaysinteger

Example: 30

order_auto_confirm_delay_minutes_weekendinteger

Example: 60

order_auto_confirm_delay_minutes_holidaysinteger

Example: 90

order_countdown_enabledboolean

Example: true

phone_mask_enableboolean

Example: true

phone_formatboolean

Example: true

phone_internationalboolean

Example: true

email_format_addressboolean

Example: true

email_lite_versionboolean

Example: true

email_include_photoboolean

Example: true

email_permanent_clientboolean

Example: true

invoice_splittedboolean

Example: true

chain_namestringrequired

Example: Green Basket

repeat_order_notification_enabledbooleanrequired

Example: true

show_category_enabledbooleanrequired

Example: true

city_idintegerrequired

Example: 739

round_costs_modestringrequired

Values:half_uphalf_downhalf_evenceilingfloor

Example: half_even

round_costs_to_precisionintegerrequired

Example: 2

account_idintegerrequired

Example: 1

account_balancenumberrequired

Example: 0.01

blocking_statusstringrequired

Values:activatedblockedfrozen

Example: activated

city_namestringrequired

Example: London

tokenstringrequired

Example: f86e6fbdb2db6f1f97b99650e19669eb

paginationobject (Pagination)
max_countintegerrequired

Number of items per page

Example: 30

page_numberintegerrequired

Current page number; limited so that the offset does not exceed 1000

Example: 1

has_nextbooleanrequired

Is there a next page

Example: true

has_previousbooleanrequired

Is there a previous page

Example: false

tg_bot_namestring

Example: fs_feedback_notifications_bot

max_bot_namestring

Example: fs_feedback_notifications_bot