API

Operatörü güncelle

POST/api/crm/v2/operators.update_operatorv2
operationId: operators.updateOperator

id ile operatörü değiştirir: bildirimler için e-posta, telefon, genel telefon, SMS bayrağı ve erişim seviyesi.

Yetkilendirme

api-token + language + role

Sorgu parametreleri

branch_idinteger

Örnek: 8778

İstek gövdesi application/json

object
idintegerzorunlu

Örnek: 1

firm_user_idinteger

Örnek: 1

email_for_notificationsarray of stringzorunlu

Bildirimler için e-posta, en fazla 255 karakter

phone_format_idinteger (PhoneFormatId)

Ülke kodu: 1-🇷🇺(+7|8), 2-🇦🇿(+994|0), 3-🇧🇾(+375|80), 4-🇰🇿(+7|8), 6-🇷🇸(+381|0), 7-🇹🇷(+90|0), 8-🇺🇦(+380|0), 9-🇵🇹(+351|0), 10-🇰🇬(+996|0), 11-🇺🇸(+1), 12-🇫🇷(+33|0), 13-🇲🇩(+373|0), 15-🇪🇪(+372), 18-🇬🇪(+995), 19-🇺🇿(+998), 22-🇵🇱(+48|0), 23-🇹🇯(+992|8), 25-🇷🇴(+40|0), 44-🇨🇭(+41|0)

Örnek: 1

phone_numberinteger

Örnek: 9999999999

public_phonestring

Örnek: +7 (999) 999-99-99

phone_sms_enabledboolean

Örnek: true

permissionstringzorunlu

Siparişlere erişim: all — tüm siparişler, only — bu operatöre atanan siparişler

Değerler:allonly

Yanıtlar

OK

object (Response)
statusstringzorunlu

Değerler:successerror

Örnek: success

Seçeneklerden biri
object

Hata hakkında bilgi

errorobjectzorunlu
codeintegerzorunlu

Hata kodu

variablesobject
descriptionstringzorunlu

Hata açıklaması