accountUpdate
Graphql fields and variables for the accountUpdate mutation
Update an account
Scope required: standard:write
For a complete list of input attributes see the AccountAttributes type
mutation accountUpdate ($id: ID!, $attributes: AccountAttributes!) {
accountUpdate (id: $id, 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
{
"id": "456123",
"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
id
ID
Response
Name
Type
Description
errors
List (String)
Last updated
Was this helpful?