CRM deals
Получить причины отказа
Changed onВозвращает причины отказа CRM.
get/api/v1/crm/loss-reasons
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
kind, 'deal' | 'lead'
Вид причин; по умолчанию deal
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Response
Причины отказа кабинета
CRMLoss Reason[] required
id, string uuid required
name, string required
kind, 'deal' | 'lead' required
Из какого справочника запись: deal - crm_loss_reason (почему проиграна сделка), lead - crm_lead_reject_reason (почему лид оказался не наш)
is_active, boolean required
created_at, string date-time 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
reasonto the response with the status
1 more change in this revision
- info