CRM deals
Добавить причину отказа
Changed onДобавляет причину отказа для CRM.
post/api/v1/crm/loss-reasons
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda:delegate
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Request body
CRMLoss Reason Input required
name, string required
kind, 'deal' | 'lead'
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
fieldto the response with the status
3 more changes in this revision
- info