CreateOpportunityAndLeadInput
Input fields
The account number.
The billing address for the lead.
Please use 'contactAddress' on the lead contact with the ACCOUNT_HOLDER role instead.
- Marked as deprecated on 2026-06-18.
- Scheduled for removal on or after 2026-09-18.
The ID of the affiliate organisation.
Please use 'assignedToAffiliateNumber' instead.
- Marked as deprecated on 2026-01-29.
- Scheduled for removal on or after 2026-03-27.
The number of the affiliate organisation the opportunity is assigned to.
The identifier of the team to assign the opportunity to.
The name of the team the opportunity is assigned to.
Please use 'assignedToTeamIdentifier' instead.
- Marked as deprecated on 2026-04-22.
- Scheduled for removal on or after 2026-06-22.
The identifier of the user to assign the opportunity to.
The username of the user to assign the opportunity to.
Please use 'assignedToUserIdentifier' instead.
- Marked as deprecated on 2026-04-22.
- Scheduled for removal on or after 2026-06-22.
Consents to be associated with the opportunity.
Please use 'consents' on the lead contact instead of on the lead.
- Marked as deprecated on 2026-06-29.
- Scheduled for removal on or after 2026-09-29.
The extra details for the opportunity.
The code of the funnel.
The contact details for the lead.
The type of the lead.
The national ID.
Please use 'leadContact.nationalId' instead.
- Marked as deprecated on 2026-06-10.
- Scheduled for removal on or after 2026-09-10.
Notes about the opportunity.
The address for the opportunity.
The ID of the product offering.
The sales channel of the opportunity.
Supply points for the opportunity.
Whether to use the same address for billing.
Example
{
"accountNumber": "A-0C2753B1",
"assignedToAffiliateNumber": "detail-TV-shake-population-happy",
"assignedToTeamIdentifier": "78670059",
"assignedToUserIdentifier": "37359509",
"extraDetailsItems": _CreateOpportunityExtraDetailsItem,
"funnelCode": "find-realize-support-he-red",
"leadContactDetails": LeadContactDetailsInput,
"leadType": "say-organization-task-to-whether",
"notes": "number-computer-economy-design-now",
"opportunityAddress": RichAddressInput,
"productOfferingId": "16997202",
"salesChannel": "manager-hour-PM-himself-suddenly",
"supplyPoints": LeadSupplyPoint,
"useSameAddressAsBilling": true
}