Retrieve and modify opportunities.
Table Specific Information
The connector will use the Salesforce Pardot API to process WHERE clause conditions built with the following column and operator. The rest of the filter is executed client side within the connector.
- Id supports '=', '<', '<=', '>', '>='.
- Probability supports '=', '<', '<=', '>', '>='.
- CreatedAt supports '=', '<', '<=', '>', '>='.
- ProspectEmail supports '='.
- ProspectId supports '='.
For example, the following queries are processed server side:
SELECT * FROM Opportunities WHERE Id = 14 SELECT * FROM Opportunities WHERE ProspectId = 34 SELECT * FROM Opportunities WHERE ProspectEmail = 'email@example.com'
The following attributes are required when performing an insert: CampaignId, Name, Value, Probability, ProspectEmail, ProspectId.
INSERT INTO Opportunities(CampaignId, Name, Value, Probability, ProspectEmail, ProspectId) VALUES(1, 'Example', 3, 75, 'firstname.lastname@example.org', 2)
Note: This table cannot be updated if a Salesforce connector is present.
Pardot ID for this opportunity.
Pardot ID of the campaign associated with this opportunity Note: Information about an opportunity's campaign association is returned in a campaign node in the XML response. However, updates to campaign associations are done by providing campaign_id during an UPDATE> request. See XML Response Formats in Using Opportunities for more details.
Opportunity's value Restrictions: value must be a positive numeric value.
Opportunity's probability Restrictions: value must be a positive numeric value between 0 and 100 inclusive.
Opportunity's status Restrictions: status must be either won, lost, or open.
Opportunity's closed date Note: if this is left blank, the closed_at datetime (Closed Date within the app) will not be set, even when the Opportunity's stage, status or probability are set to indicate opportunity closure.
Time opportunity was created in Pardot.
Last time opportunity was updated in Pardot.
Email of the prospect.
Id of the prospect.