CRM deals

Добавить причину отказа

Changed on

Добавляет причину отказа для CRM.

post/api/v1/crm/loss-reasons

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate

Headers

X-Tenant, string required

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

Request body

CRMLossReasonInput required
name, string required
kind, 'deal' | 'lead'

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

    3 more changes in this revision