API

Filialni o‘zgartirish

POST/api/crm/v2/branches.update_branchv2
operationId: branches.updateBranch

Filial sozlamalarini o'zgartiradi. Shahar o'zgartirilganda filialning tumanlari tiklanadi.

Avtorizatsiya

api-token + language + role

So‘rov tanasi application/json

object (ItemBranchUpdate)
idintegermajburiy

Misol: 1

branch_namestringmajburiy

Misol: FoodTruck «Thunderbird»

email_for_feedbackstringmajburiy

Misol: example@example.com

round_costs_modestringmajburiy

Qiymatlar:half_uphalf_downhalf_evenceilingfloor

round_costs_to_precisionintegermajburiy

Misol: 2

feedback_enabledboolean

Misol: true

preorder_enableboolean

Misol: true

preorder_in_work_timeboolean

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

phone_mask_enableboolean

Misol: true

phone_formatboolean

Misol: true

phone_internationalboolean

Misol: true

email_lite_versionboolean

Misol: true

email_include_photoboolean

Misol: true

email_format_addressboolean

Misol: true

email_permanent_clientboolean

Misol: true

repeat_order_notification_enabledboolean

Misol: true

show_category_enabledboolean

Misol: true

order_auto_confirm_enabledboolean

Misol: true

order_countdown_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

Javoblar

OK

object
statusstringmajburiy

Qiymatlar:successerror

Misol: success

dataobject