CRM customers
Найти похожие карточки клиента
Changed onПроверка перед созданием: совпадение по ИНН (с КПП, если он передан), хвосту телефона, почте или имени. Телефон и почта сравниваются со всеми каналами клиента, а не только с основными. Найденные идут по силе признака.
get/api/v1/crm/customers/duplicates
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or API key in header X-Api-Key
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda:delegate
Query parameters
name, string
Имя или название клиента
phone, string
Телефон в любом формате
inn, string
ИНН; пробелы и дефисы игнорируются
kpp, string
КПП; сужает совпадение по ИНН до конкретного подразделения
email, string
Почта; сравнивается без учёта регистра
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Response
Найденные совпадения с признаком совпавшего поля
CRMCustomer Duplicate[] required
CRMCustomer Duplicate required
Changes
- info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status
3 more changes in this revision
- info