API

Atualizar filial

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

Altera as configurações da filial. Ao alterar a cidade, os bairros da filial são redefinidos.

Autorização

api-token + language + role

Corpo da solicitação application/json

object (ItemBranchUpdate)
idintegerobrigatório

Exemplo: 1

branch_namestringobrigatório

Exemplo: FoodTruck «Thunderbird»

email_for_feedbackstringobrigatório

Exemplo: example@example.com

round_costs_modestringobrigatório

Valores:half_uphalf_downhalf_evenceilingfloor

round_costs_to_precisionintegerobrigatório

Exemplo: 2

feedback_enabledboolean

Exemplo: true

preorder_enableboolean

Exemplo: true

preorder_in_work_timeboolean

Exemplo: true

preorder_alwaysboolean

Exemplo: true

preorder_delivery_minimum_minutesinteger

Exemplo: 0

preorder_delivery_maximum_daysinteger

Exemplo: 3

preorder_pickup_minimum_minutesinteger

Exemplo: 10

preorder_pickup_maximum_daysinteger

Exemplo: 1

phone_mask_enableboolean

Exemplo: true

phone_formatboolean

Exemplo: true

phone_internationalboolean

Exemplo: true

email_lite_versionboolean

Exemplo: true

email_include_photoboolean

Exemplo: true

email_format_addressboolean

Exemplo: true

email_permanent_clientboolean

Exemplo: true

repeat_order_notification_enabledboolean

Exemplo: true

show_category_enabledboolean

Exemplo: true

order_auto_confirm_enabledboolean

Exemplo: true

order_countdown_enabledboolean

Exemplo: true

order_auto_confirm_delay_minutes_weekdaysinteger

Exemplo: 30

order_auto_confirm_delay_minutes_weekendinteger

Exemplo: 60

order_auto_confirm_delay_minutes_holidaysinteger

Exemplo: 90

Respostas

OK

object
statusstringobrigatório

Valores:successerror

Exemplo: success

dataobject