Lead Gen & CRM has a distinct API organization. This article will detail the parts of the Lead Gen & CRM API, related to opportunities.
Administrators | ✓ | |
Company Managers | ||
Marketing Managers | ||
Sales Managers | ||
Salespersons | ||
Jr. Salespersons |
An opportunity represents a potential deal that has an expected value. An opportunity can be associated with a lead or account, as well as a campaign.
|
Name | Type | Length | Is Required |
id | int | 18 | Optional | |
ownerID | int | 18 | Required | |
dealStageID | int | 18 | Required | |
accountID | int | 18 | Optional | |
campaignID | int | 18 | Optional | |
opportunityName | varchar | 255 | Required | |
probability | double | 18 | Optional | |
amount | double | 18 | Optional | |
isClosed | tinyint | 1 | Optional | |
isWon | tinyint | Optional | ||
isActive | tinyint | 1 | Optional | |
closeDate | timestamp | 255 | Required | |
originatingLeadID | int | 18 | Optional | |
primaryLeadID | int | 18 | Optional |
A mapping table that represents an association between an opportunity and lead. Each opportunity in Lead Gen & CRM can consist of multiple leads.
|
Name | Type | Length | Is Required |
id | int | 18 | Optional | |
opportunityID | int | 18 | Required | |
leadID | int | 18 | Required |
A deal stage is a custom state for your opportunity pipeline. As opportunities progress, the deal stage is changed until the opportunity is finally won or lost.
|
Name | Type | Length | Is Required |
id | int | 18 | Optional | |
dealStageName | varchar | 255 | Required | |
description | varchar | 255 | Optional | |
defaultProbability | double | 18 | Optional | |
weight | int | 18 | Optional | |
isEditable | tinyint | 1 | Optional |
Contains metadata for a Lead Gen & CRM field. This includes both lead and opportunity fields. The systemName is a key that can be specified in any POST to create or update an object.
|
Name | Type | Length | Is Required |
id | int | 18 | Optional | |
relationship | varchar | 255 | Required | |
systemName | varchar | 255 | Optional | |
label | varchar | 255 | Required | |
source | varchar | 255 | Optional | |
dataType | varchar | 255 | Required | |
dataLength | int | 18 | Required | |
isRequired | tinyint | 1 | Required | |
isCustom | tinyint | 1 | Required | |
isActive | tinyint | 1 | Required | |
isAvailableInContactManager | tinyint | 1 | Required | |
isEditableInContactManager | tinyint | 1 | Required | |
isAvailableInForms | tinyint | 1 | Required |
This article details specific schema content about Lead Gen & CRM's API. However, given the size and scope of the API, information is broken up and is contained in different articles. Each article focuses on a specific function of Lead Gen & CRM's API. Additional API information can be found in the following articles:
Copyright © 2025 · All Rights Reserved · Constant Contact · Privacy Center