accountCreate
Graphql fields and variables for the accountCreate mutation
Last updated
Was this helpful?
Graphql fields and variables for the accountCreate mutation
Last updated
Was this helpful?
Create an account
Scope required: standard:write
For a complete list of input attributes see the type
mutation accountCreate ($attributes: AccountAttributes!) {
accountCreate (attributes: $attributes) {
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
}
}
{
"attributes": {
"code": "",
"accountTypeId": "456123",
"industryId": "456123",
"employees": 123,
"annualRevenue": 123,
"name": "",
"billingStreet": "",
"billingCity": "",
"billingState": "",
"billingZip": "",
"billingCountry": "",
"billingContactId": "456123",
"billingContact": {
"code": "",
"firstName": "",
"lastName": "",
"email": "",
"salutation": "",
"title": "",
"phone": "",
"mobile": "",
"mailingStreet": "",
"mailingCity": "",
"mailingZip": "",
"mailingState": "",
"mailingCountry": "",
"portalAccess": true,
"description": "",
"accountId": "456123",
"campaignCode": "",
"linkedinUrl": ""
},
"shippingStreet": "",
"shippingCity": "",
"shippingState": "",
"shippingZip": "",
"shippingCountry": "",
"description": "",
"phone": "",
"fax": "",
"website": "",
"currencyId": "456123",
"taxNumber": "",
"groupId": "456123",
"netPaymentDays": 123,
"draftInvoices": true,
"newQuoteBuilder": true,
"duns": "",
"timezone": "",
"ownerUserId": "456123",
"ipAddress": "",
"entityUseCode": "",
"linkedinUrl": "",
"invoiceTemplateId": "456123",
"entityId": "456123",
"secondaryBillingContactIds": [
"456123"
],
"emailsEnabled": true
}
}
attributes
account
errors
List (String)