CRM deals
Deals from Rivil CRM. Replica, read-only.
Module: CRM (crm).
Endpoints
Section titled “Endpoints”GET /api/v1/crm_deals- List with filters, sorting and pagination (scopecrm:read)GET /api/v1/crm_deals/{id}- A record by id (scopecrm:read)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).lead_id(string, uuid; read)funnel_id(string, uuid; read)current_step_id(string, uuid; read)current_status_id(string, uuid; read)outcome(string; read)value(number; read)source(string; read)campaign(string; read)adset(string; read)ad(string; read)custom_fields(object; read): Custom fields (key-value object). Definitions are created in the ERP; see the guide on docs.rivil.app.opened_at(string, date-time; read)closed_at(string, date-time; read)created_at(string, date-time; read): Creation date (ISO 8601).last_entry_at(string, date-time; read)last_source(string; read)last_campaign(string; read)last_adset(string; read)last_ad(string; read)updated_at(string, date-time; read): Last modification date (ISO 8601).