Skip to main content

Input fields

accountNumber : String

The account number, if known.

address : RichAddressInput

The billing address for the lead.

Deprecation
The 'billingAddress' field is deprecated.

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.
affiliateOrganisationId : Int

The ID of the affiliate organisation.

Deprecation
The 'affiliateOrganisationId' field is deprecated.

Please use 'assignedToAffiliateNumber' instead.

- Marked as deprecated on 2026-01-29.
- Scheduled for removal on or after 2026-03-27.
assignedToAffiliateNumber : String

The number of the affiliate organisation the opportunity is assigned to.

assignedToTeamIdentifier : String

The identifier of the team to assign the opportunity to.

assignedToTeamName : String

The name of the team the opportunity is assigned to.

Deprecation
The 'assignedToTeamName' field is deprecated.

Please use 'assignedToTeamIdentifier' instead.

- Marked as deprecated on 2026-04-22.
- Scheduled for removal on or after 2026-06-22.
assignedToUserIdentifier : String

The identifier of the user to assign the opportunity to.

assignedToUsername : String

The username of the user to assign the opportunity to.

Deprecation
The 'assignedToUsername' field is deprecated.

Please use 'assignedToUserIdentifier' instead.

- Marked as deprecated on 2026-04-22.
- Scheduled for removal on or after 2026-06-22.
businessNumber : String

The number of the business the lead belongs to, if known.

consents : [ConsentTypeInput]

Consents to be associated with the opportunity.

Deprecation
The 'consents' field is deprecated.

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.

funnelCode : String

The code of the funnel.

leadContactDetails : LeadContactDetailsInput! required

The contact details for the lead.

leadType : String! required

The type of the lead. It must be one of the available lead types and can't be changed after the lead is created. It can only be empty when a single lead type is available, and a new lead then gets that type.

legalEntity : ActiveLegalEntityInput

The legal entity to link to the business lead, replacing any it already has. It's found by its name, type and legal address. An active one is linked as it is. A draft one is activated, after it's completed with these details if it's missing data. If there's none, a new active one is created with these details.

loaReference : String

The id of a letter-of-authority file already stored on the broker's affiliate organisation. Business sales are rejected when this does not match an attachment on that organisation. Other lead types ignore it.

nationalId : String

The national ID.

Deprecation
The 'nationalId' field is deprecated.

Please use 'leadContact.nationalId' instead.

- Marked as deprecated on 2026-06-10.
- Scheduled for removal on or after 2026-09-10.
notes : String! required

Notes about the opportunity.

opportunityAddress : RichAddressInput

The address for the opportunity.

paymentDetails : LeadPaymentDetailsInput

The payment details to store for the lead. Equivalent to calling storeBankDetailsForLead separately.

productOfferingId : String

The ID of the product offering stored on the opportunity. When quotingParameters is present, this is also the offering the quote is for.

Quoting parameters for the offering. When present, an offer is generated from them and that offer is accepted.

salesChannel : String

The sales channel of the opportunity.

Supply points for the opportunity.

useSameAddressAsBilling : Boolean

Whether to use the same address for billing.

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Example

{ "accountNumber": "A-8E0E2C1C", "assignedToAffiliateNumber": "I-example-church-tax-specific", "assignedToTeamIdentifier": "85610286", "assignedToUserIdentifier": "28138605", "businessNumber": "fund-defense-purpose-study-usually", "extraDetailsItems": _CreateOpportunityExtraDetailsItem, "funnelCode": "gas-think-reach-machine-world", "leadContactDetails": LeadContactDetailsInput, "leadType": "doctor-rise-be-college-treat", "legalEntity": ActiveLegalEntityInput, "loaReference": "defense-service-outside-subject-happy", "notes": "future-fact-test-page-west", "opportunityAddress": RichAddressInput, "paymentDetails": LeadPaymentDetailsInput, "productOfferingId": "75604662", "quotingParameters": SalesInteractionQuotingParametersInput, "salesChannel": "career-necessary-bit-always-available", "supplyPoints": SalesInteractionSupplyPointInput, "useSameAddressAsBilling": true }