leadConvert
Convert a lead to an account. The leadConvert mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: standard:write
mutation leadConvert ($id: ID!) {
leadConvert (id: $id) {
account {
accountTypeId
addressValidated
annualRevenue
arr
billingCity
billingContactId
billingCountry
billingDay
billingState
billingStreet
billingZip
code
consolidatedBilling
createdAt
currencyId
customFieldsData
description
disableDunning
displayName
draftInvoices
duns
effectiveBillingDate
emailsEnabled
employees
entityId
entityUseCode
fastForwarded
fastForwarding
fax
forwardTo
forwardedTo
groupId
hasChildAccounts
hasCustomFields
hasInvoicedCharges
id
inHierarchy
industryId
integrationManaged
invoiceTemplateId
invoicedAccountId
linkedinUrl
mrr
mur
name
netPaymentDays
newQuoteBuilder
nextRenewal
ownerUserId
parentAccountId
payingAccountId
phone
revenueToDate
sandbox
shippingCity
shippingCountry
shippingState
shippingStreet
shippingZip
taxNumber
taxNumberValidated
timezone
updatedAt
website
}
errors
lead {
accountId
accountTypeId
city
company
companyOrFullName
converted
convertedAt
country
createdAt
customFieldsData
description
email
employees
entityId
firstName
fullName
groupId
hasCustomFields
id
industryId
lastName
leadSourceId
leadStatusId
linkedinUrl
mobile
ownerUserId
phone
revenue
state
street
title
updatedAt
website
zip
}
}
}
Arguments
{
"id": "456123"
}
| Name | Type | Description |
|---|---|---|
| id | ID |