API

Zaktualizuj oddział

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

Zmienia ustawienia filii. Przy zmianie miasta dzielnice filii są resetowane.

Autoryzacja

api-token + language + role

Treść żądania application/json

object (ItemBranchUpdate)
idintegerwymagane

Przykład: 1

branch_namestringwymagane

Przykład: FoodTruck «Thunderbird»

email_for_feedbackstringwymagane

Przykład: example@example.com

round_costs_modestringwymagane

Wartości:half_uphalf_downhalf_evenceilingfloor

round_costs_to_precisionintegerwymagane

Przykład: 2

feedback_enabledboolean

Przykład: true

preorder_enableboolean

Przykład: true

preorder_in_work_timeboolean

Przykład: true

preorder_alwaysboolean

Przykład: true

preorder_delivery_minimum_minutesinteger

Przykład: 0

preorder_delivery_maximum_daysinteger

Przykład: 3

preorder_pickup_minimum_minutesinteger

Przykład: 10

preorder_pickup_maximum_daysinteger

Przykład: 1

phone_mask_enableboolean

Przykład: true

phone_formatboolean

Przykład: true

phone_internationalboolean

Przykład: true

email_lite_versionboolean

Przykład: true

email_include_photoboolean

Przykład: true

email_format_addressboolean

Przykład: true

email_permanent_clientboolean

Przykład: true

repeat_order_notification_enabledboolean

Przykład: true

show_category_enabledboolean

Przykład: true

order_auto_confirm_enabledboolean

Przykład: true

order_countdown_enabledboolean

Przykład: true

order_auto_confirm_delay_minutes_weekdaysinteger

Przykład: 30

order_auto_confirm_delay_minutes_weekendinteger

Przykład: 60

order_auto_confirm_delay_minutes_holidaysinteger

Przykład: 90

Odpowiedzi

OK

object
statusstringwymagane

Wartości:successerror

Przykład: success

dataobject