API

Mendapatkan daftar cabang

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

Otorisasi

api-token + language + role

Parameter permintaan

page_numberinteger

Contoh: 1

chain_idinteger
branch_idinteger

Tanggapan

OK

object
statusstringwajib

Nilai:successerror

Contoh: success

dataobject
Salah satu pilihan
object
filtersobject
branch_idobject (FilterSelectInteger)
valueinteger

Contoh: 8920

typestringwajib

Contoh: select

optionarray of object
valueintegerwajib

Contoh: 8920

namestringwajib

Contoh: Green Basket | Kaliningrad

modestring (FilterMode)

Bagaimana antarmuka memproses filter; filter biasa tidak memiliki mode. force_shown — selalu ditampilkan, tidak bisa disembunyikan. value_required — titik masuk ke bagian: selalu ditampilkan, tidak memiliki nilai kosong (selama nilai belum dipilih, daftar kosong; tidak ada opsi "semua"), reset umum tidak menghapusnya.

Nilai:force_shownvalue_required

Contoh: value_required

listarray of object
idintegerwajib

Contoh: 1

datestring (DataTimeFormatSQL) wajib

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

branch_namestring

Contoh: Don't touch

chain_idintegerwajib

Contoh: 1

publishedbooleanwajib

Contoh: true

branch_balancenumberwajib

Contoh: 1000

feedback_enabledbooleanwajib

Contoh: true

email_for_feedbackstring

Contoh: example@example.com

preorder_in_work_timeboolean

Contoh: true

preorder_enableboolean

Contoh: true

preorder_alwaysboolean

Contoh: true

preorder_delivery_minimum_minutesinteger

Contoh: 0

preorder_delivery_maximum_daysinteger

Contoh: 3

preorder_pickup_minimum_minutesinteger

Contoh: 10

preorder_pickup_maximum_daysinteger

Contoh: 1

order_auto_confirm_enabledboolean

Contoh: true

order_auto_confirm_delay_minutes_weekdaysinteger

Contoh: 30

order_auto_confirm_delay_minutes_weekendinteger

Contoh: 60

order_auto_confirm_delay_minutes_holidaysinteger

Contoh: 90

order_countdown_enabledboolean

Contoh: true

phone_mask_enableboolean

Contoh: true

phone_formatboolean

Contoh: true

phone_internationalboolean

Contoh: true

email_format_addressboolean

Contoh: true

email_lite_versionboolean

Contoh: true

email_include_photoboolean

Contoh: true

email_permanent_clientboolean

Contoh: true

invoice_splittedboolean

Contoh: true

chain_namestringwajib

Contoh: Green Basket

repeat_order_notification_enabledbooleanwajib

Contoh: true

show_category_enabledbooleanwajib

Contoh: true

city_idintegerwajib

Contoh: 739

round_costs_modestringwajib

Nilai:half_uphalf_downhalf_evenceilingfloor

Contoh: half_even

round_costs_to_precisionintegerwajib

Contoh: 2

account_idintegerwajib

Contoh: 1

account_balancenumberwajib

Contoh: 0.01

blocking_statusstringwajib

Nilai:activatedblockedfrozen

Contoh: activated

city_namestringwajib

Contoh: London

tokenstringwajib

Contoh: f86e6fbdb2db6f1f97b99650e19669eb

paginationobject (Pagination)
max_countintegerwajib

Jumlah item per halaman

Contoh: 30

page_numberintegerwajib

Nomor halaman saat ini; dibatasi agar offset tidak melebihi 1000

Contoh: 1

has_nextbooleanwajib

Apakah ada halaman berikutnya

Contoh: true

has_previousbooleanwajib

Apakah ada halaman sebelumnya

Contoh: false

tg_bot_namestring

Contoh: fs_feedback_notifications_bot

max_bot_namestring

Contoh: fs_feedback_notifications_bot