API

Filiale bearbeiten

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

Ändert die Einstellungen einer Filiale. Beim Ändern der Stadt werden die Bezirke der Filiale zurückgesetzt.

Autorisierung

api-token + language + role

Anfragetext application/json

object (ItemBranchUpdate)
idintegererforderlich

Beispiel: 1

branch_namestringerforderlich

Beispiel: FoodTruck «Thunderbird»

email_for_feedbackstringerforderlich

Beispiel: example@example.com

round_costs_modestringerforderlich

Werte:half_uphalf_downhalf_evenceilingfloor

round_costs_to_precisionintegererforderlich

Beispiel: 2

feedback_enabledboolean

Beispiel: true

preorder_enableboolean

Beispiel: true

preorder_in_work_timeboolean

Beispiel: true

preorder_alwaysboolean

Beispiel: true

preorder_delivery_minimum_minutesinteger

Beispiel: 0

preorder_delivery_maximum_daysinteger

Beispiel: 3

preorder_pickup_minimum_minutesinteger

Beispiel: 10

preorder_pickup_maximum_daysinteger

Beispiel: 1

phone_mask_enableboolean

Beispiel: true

phone_formatboolean

Beispiel: true

phone_internationalboolean

Beispiel: true

email_lite_versionboolean

Beispiel: true

email_include_photoboolean

Beispiel: true

email_format_addressboolean

Beispiel: true

email_permanent_clientboolean

Beispiel: true

repeat_order_notification_enabledboolean

Beispiel: true

show_category_enabledboolean

Beispiel: true

order_auto_confirm_enabledboolean

Beispiel: true

order_countdown_enabledboolean

Beispiel: true

order_auto_confirm_delay_minutes_weekdaysinteger

Beispiel: 30

order_auto_confirm_delay_minutes_weekendinteger

Beispiel: 60

order_auto_confirm_delay_minutes_holidaysinteger

Beispiel: 90

Antworten

OK

object
statusstringerforderlich

Werte:successerror

Beispiel: success

dataobject