API

Get delivery service directories

GET/api/crm/v2/integration_courier_services.fieldsv2
operationId: integrationCourierServices.fields

Returns supported delivery services: connection fields, encryptable fields, field types, and a link to the service website. The switch field type is optional: it is always passed as a boolean value.

Authorization

api-token + language + role

Responses

OK

object
statusstringrequired

Values:successerror

Example: success

dataobject
servicesarray of object
idintegerrequired

Example: 1

namestringrequired

Example: Yandex Delivery

system_namestringrequired

Example: YandexDelivery

fieldsarray of stringrequired
fields_for_cryptarray of stringrequired
fields_typesobject

Field type by its name; a field without a record is text

Dictionary values
object
typestringrequired

Values:switch

sitestringrequired

Example: https://dostavka.yandex.ru/