API

Ubah cabang

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

Mengubah pengaturan cabang. Saat kota diubah, distrik cabang akan direset.

Otorisasi

api-token + language + role

Isi permintaan application/json

object (ItemBranchUpdate)
idintegerwajib

Contoh: 1

branch_namestringwajib

Contoh: FoodTruck «Thunderbird»

email_for_feedbackstringwajib

Contoh: example@example.com

round_costs_modestringwajib

Nilai:half_uphalf_downhalf_evenceilingfloor

round_costs_to_precisionintegerwajib

Contoh: 2

feedback_enabledboolean

Contoh: true

preorder_enableboolean

Contoh: true

preorder_in_work_timeboolean

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

phone_mask_enableboolean

Contoh: true

phone_formatboolean

Contoh: true

phone_internationalboolean

Contoh: true

email_lite_versionboolean

Contoh: true

email_include_photoboolean

Contoh: true

email_format_addressboolean

Contoh: true

email_permanent_clientboolean

Contoh: true

repeat_order_notification_enabledboolean

Contoh: true

show_category_enabledboolean

Contoh: true

order_auto_confirm_enabledboolean

Contoh: true

order_countdown_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

Tanggapan

OK

object
statusstringwajib

Nilai:successerror

Contoh: success

dataobject