CRM inbox
Создать сделку из диалога
Changed onСоздаёт сделку на основе указанного диалога.
post/api/v1/crm/inbox/conversations/{id}/deals
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
Path parameters
id, string uuid required
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Request body
CRMInbox Deal Input required
title, string required
pipeline_id, string uuid required
stage_id, string uuid required
amount, string
Сумма десятичной строкой: «19990.50». Разрядность берёт валюта (MONEY-ROUNDING.md)
currency, string
Response
Связь диалога с созданной сделкой
CRMInbox Conversation Link required
id, string uuid required
conversation_id, string uuid required
entity_type, 'lead' | 'deal' | 'customer' required
entity_id, string uuid 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
5 more changes in this revision
- info