leadConvert

Graphql fields and variables for the leadConvert mutation

Convert a lead to an account

Scope required: standard:write

mutation leadConvert ($id: ID!) {
  leadConvert (id: $id) {
      account {
        accountTypeId
        addressValidated
        annualRevenue
        arr
        billingCity
        billingContactId
        billingCountry
        billingDay
        billingState
        billingStreet
        billingZip
        code
        createdAt
        currencyId
        description
        draftInvoices
        duns
        emailsEnabled
        employees
        entityId
        entityUseCode
        fax
        groupId
        id
        industryId
        invoiceTemplateId
        linkedinUrl
        mrr
        mur
        name
        netPaymentDays
        newQuoteBuilder
        ownerUserId
        phone
        shippingCity
        shippingCountry
        shippingState
        shippingStreet
        shippingZip
        taxNumber
        taxNumberValidated
        timezone
        updatedAt
        website
      }
      errors
      lead {
        accountId
        accountTypeId
        city
        company
        companyOrFullName
        converted
        convertedAt
        country
        createdAt
        description
        email
        employees
        entityId
        firstName
        fullName
        groupId
        id
        industryId
        lastName
        leadSourceId
        leadStatusId
        linkedinUrl
        mobile
        ownerUserId
        phone
        revenue
        state
        street
        title
        updatedAt
        website
        zip
      }
  }
}

Arguments

{
  "id": "456123"
}
Name
Type
Description

id

ID

Response

Name
Type
Description

account

errors

List (String)

lead

Last updated

Was this helpful?