Skip to main content

Arguments

Input fields for creating an opportunity for a lead.

Returns

CreateOpportunityForLead

Create an opportunity for a lead with the provided details.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can create leads

Query Complexity

1

Examples

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.

Query

mutation CreateOpportunityForLead($input: CreateOpportunityForLeadInput!) { createOpportunityForLead(input: $input) { dateOfCreation opportunityNumber } }

Variables

Response

{ "data": { "createOpportunityForLead": { "dateOfCreation": "1977-04-03T12:32:38.158221+00:00", "opportunityNumber": "house-remain-think-agency-modern" } } }