Preview

createLead is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.

createLead

This page contains

    Arguments

    input CreateLeadInput! PREVIEW

    CreateLeadInput fields

    context LeadContext! PREVIEW
    accountId ID
    userId ID
    type LeadType! PREVIEW
    customer LeadCustomerInput! PREVIEW
    resellerId ID
    createdByUserId ID
    customAttributes [LeadCustomAttributeInput!] PREVIEW
    result LeadResult! PREVIEW
    profileAccountId ID
    anticipatedSeats Int
    anticipatedCloseDate Date
    useCaseDescription String
    notes String
    creatorRole String
    applications [ID!]
    profileProductId ID

    Return Fields

    lead Lead PREVIEW
    userErrors [CreateLeadError!] PREVIEW

    Interactive example

    This is an example mutation query. Use the embedded interactive tool below to edit the query.

    Hint: use Ctrl + Space for autocompleting fields.