CRM deals

Получить причины отказа

Changed on

Возвращает причины отказа CRM.

get/api/v1/crm/loss-reasons

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

kind, 'deal' | 'lead'

Вид причин; по умолчанию deal

Headers

X-Tenant, string required

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

Response

Причины отказа кабинета

CRMLossReason[] 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 field to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property reason to the response with the status

    1 more change in this revision