Create deal
Creates a new deal in your CRM pipeline. Related entity IDs use prefixed string IDs (for example clt_, dpl_, dps_). Custom field values use cf_* keys — see the Custom fields guide.
Authorizations
API key for authentication. Get yours at app.heffl.com/settings/developers
Body
Deal title
Contact or company ID (clt_ prefix)
Pipeline ID
Pipeline stage ID
Lead ID
CRM source ID
Owner user ID
Deal value
Expected close date
Deal priority
LOW, MEDIUM, HIGH Deal status
ACTIVE, WON, LOST 3-letter ISO currency code
Whether prices include tax
Assignee user IDs
Contact IDs linked to the deal
Tag IDs
Deal line items
Custom field values using cf_* keys. Only documented fields and cf_* keys are accepted.
Response
OK
Deal ID
Auto-generated deal number
Deal title
Emails of linked contacts
Contact or company ID (clt_ prefix)
Linked client record
Deal value
Expected close date
Deal status
ACTIVE, WON, LOST Deal priority
LOW, MEDIUM, HIGH Pipeline ID (dpl_ prefix)
Pipeline stage ID (dps_ prefix)
Pipeline stage name
Lead ID
Lead name
CRM source ID (src_ prefix)
CRM source name
Owner user ID (usr_ prefix)
Owner user ID (usr_ prefix)
Owner name
When the deal was created
When the deal was last updated
Custom field values as top-level cf_* keys (for example cf_priority). There is no customFields wrapper.