API

Filiallar ro‘yxatini olish

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

Avtorizatsiya

api-token + language + role

So‘rov parametrlari

page_numberinteger

Misol: 1

chain_idinteger
branch_idinteger

Javoblar

OK

object
statusstringmajburiy

Qiymatlar:successerror

Misol: success

dataobject
Variantlardan biri
object
filtersobject
branch_idobject (FilterSelectInteger)
valueinteger

Misol: 8920

typestringmajburiy

Misol: select

optionarray of object
valueintegermajburiy

Misol: 8920

namestringmajburiy

Misol: Green Basket | Kaliningrad

modestring (FilterMode)

Interfeys filtrni qanday ishlashini belgilaydi; oddiy filtrda mode mavjud emas. force_shown — doim ko‘rsatiladi, yashirib bo‘lmaydi. value_required — bo‘limga kirish nuqtasi: doim ko‘rsatiladi, bo‘sh qiymatga ega emas (qiymat tanlanmaguncha ro‘yxat bo‘sh; “barchasi” varianti yo‘q), umumiy tozalash uni tozalamaydi.

Qiymatlar:force_shownvalue_required

Misol: value_required

listarray of object
idintegermajburiy

Misol: 1

datestring (DataTimeFormatSQL) majburiy

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

branch_namestring

Misol: Don't touch

chain_idintegermajburiy

Misol: 1

publishedbooleanmajburiy

Misol: true

branch_balancenumbermajburiy

Misol: 1000

feedback_enabledbooleanmajburiy

Misol: true

email_for_feedbackstring

Misol: example@example.com

preorder_in_work_timeboolean

Misol: true

preorder_enableboolean

Misol: true

preorder_alwaysboolean

Misol: true

preorder_delivery_minimum_minutesinteger

Misol: 0

preorder_delivery_maximum_daysinteger

Misol: 3

preorder_pickup_minimum_minutesinteger

Misol: 10

preorder_pickup_maximum_daysinteger

Misol: 1

order_auto_confirm_enabledboolean

Misol: true

order_auto_confirm_delay_minutes_weekdaysinteger

Misol: 30

order_auto_confirm_delay_minutes_weekendinteger

Misol: 60

order_auto_confirm_delay_minutes_holidaysinteger

Misol: 90

order_countdown_enabledboolean

Misol: true

phone_mask_enableboolean

Misol: true

phone_formatboolean

Misol: true

phone_internationalboolean

Misol: true

email_format_addressboolean

Misol: true

email_lite_versionboolean

Misol: true

email_include_photoboolean

Misol: true

email_permanent_clientboolean

Misol: true

invoice_splittedboolean

Misol: true

chain_namestringmajburiy

Misol: Green Basket

repeat_order_notification_enabledbooleanmajburiy

Misol: true

show_category_enabledbooleanmajburiy

Misol: true

city_idintegermajburiy

Misol: 739

round_costs_modestringmajburiy

Qiymatlar:half_uphalf_downhalf_evenceilingfloor

Misol: half_even

round_costs_to_precisionintegermajburiy

Misol: 2

account_idintegermajburiy

Misol: 1

account_balancenumbermajburiy

Misol: 0.01

blocking_statusstringmajburiy

Qiymatlar:activatedblockedfrozen

Misol: activated

city_namestringmajburiy

Misol: London

tokenstringmajburiy

Misol: f86e6fbdb2db6f1f97b99650e19669eb

paginationobject (Pagination)
max_countintegermajburiy

Sahifadagi elementlar soni

Misol: 30

page_numberintegermajburiy

Joriy sahifa raqami; siljish 1000 dan oshmasligi uchun cheklangan

Misol: 1

has_nextbooleanmajburiy

Keyingi sahifa mavjudmi

Misol: true

has_previousbooleanmajburiy

Oldingi sahifa mavjudmi

Misol: false

tg_bot_namestring

Misol: fs_feedback_notifications_bot

max_bot_namestring

Misol: fs_feedback_notifications_bot