accountCreate
Graphql fields and variables for the accountCreate mutation
Create an account
Scope required: standard:write
For a complete list of input attributes see the AccountAttributes 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
}
}
Arguments
{
"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
}
}
Name
Type
Description
Response
Name
Type
Description
errors
List (String)
Last updated
Was this helpful?