CRM customers

Найти похожие карточки клиента

Changed on

Проверка перед созданием: совпадение по ИНН (с КПП, если он передан), хвосту телефона, почте или имени. Телефон и почта сравниваются со всеми каналами клиента, а не только с основными. Найденные идут по силе признака.

get/api/v1/crm/customers/duplicates

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate

Query parameters

name, string

Имя или название клиента

phone, string

Телефон в любом формате

inn, string

ИНН; пробелы и дефисы игнорируются

kpp, string

КПП; сужает совпадение по ИНН до конкретного подразделения

email, string

Почта; сравнивается без учёта регистра

Headers

X-Tenant, string required

Slug выбранного кабинета; кабинет не является юрлицом

Response

Найденные совпадения с признаком совпавшего поля

CRMCustomerDuplicate[] required
CRMCustomerDuplicate required

Changes

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    3 more changes in this revision