API

Modifică setările de bază

POST/api/crm/v2/base_settings.updatev2
operationId: baseSettings.update

Modifică setările de bază. about acceptă HTML cu o listă permisă de taguri și este verificat după o listă de cuvinte interzise. Linkurile către rețelele sociale sunt verificate ca URL.

Autorizare

api-token + language + role

Parametri de interogare

branch_idintegerobligatoriu

Exemplu: 8779

Corpul cererii multipart/form-data

object
aboutstringobligatoriu

Text HTML; etichete permise: <p>, <strong>, <br>, <big>, <ol>, <ul>, <li>

Exemplu: <b>About branch</b>

excludesarray of stringobligatoriu

Array de chei ale câmpurilor din care nu trebuie eliminate etichetele HTML

default_imagestring · binary
blockboolean

Exemplu: true

cart_lead_timeboolean

Exemplu: true

noticestringobligatoriu

Exemplu: free delivery

cart_noticestringobligatoriu

Exemplu: free delivery

social_network_vkstring

Exemplu: https://vk.com/id90638739

social_network_okstring

Exemplu: https://ok.ru/zloy_ded

social_network_tgstring

Exemplu: https://t.me/@sh4dberow

social_network_wastring

Exemplu: https://chat.whatsapp.com/@sh4dberow

social_network_fbstring

Exemplu: https://facebook.com/foodsoul

social_network_instring

Exemplu: https://instagram.com/foodsoul

order_message_minutesinteger

Exemplu: 10

order_message_permanent_clientboolean

Exemplu: true

order_message_prepayment_orderboolean

Exemplu: true

order_message_custom_texts_prepayment_and_not_workstring

Exemplu: text

order_message_custom_texts_prepayment_and_workstring

Exemplu: text

order_message_custom_texts_workstring

Exemplu: text

order_message_custom_texts_not_workstring

Exemplu: text

Răspunsuri

OK

object
statusstringobligatoriu

Valori:successerror

Exemplu: success

dataobject