entityCreate
Graphql fields and variables for the entityCreate mutation
Create an entity
Scope required: admin:write
For a complete list of input attributes see the EntityAttributes type
mutation entityCreate ($attributes: EntityAttributes!) {
entityCreate (attributes: $attributes) {
entity {
abbreviation
accentColor
baseCurrencyId
billingCity
billingCountry
billingState
billingStreet
billingZip
brandColor
createdAt
customerServiceEmail
emailSenderName
emailTemplate
fax
fiscalYearStartMonth
id
invoiceNumberPrefix
invoiceNumberSeq
invoicesImageUrl
isDefault
name
phone
privacyUrl
quoteNumberPrefix
quoteNumberSeq
quotesImageUrl
refundPolicyUrl
taxId
termsUrl
timezone
topNavImageUrl
tzIdentifier
tzOffset
updatedAt
website
}
errors
}
}
Arguments
{
"attributes": {
"name": "",
"abbreviation": "",
"billingStreet": "",
"billingCity": "",
"billingState": "",
"billingZip": "",
"billingCountry": "",
"phone": "",
"fax": "",
"website": "",
"quoteNumberSeq": 123,
"quoteNumberPrefix": "",
"invoiceNumberSeq": 123,
"invoiceNumberPrefix": "",
"brandColor": "",
"accentColor": "",
"emailTemplate": "",
"emailSenderName": "",
"termsUrl": "",
"privacyUrl": "",
"refundPolicyUrl": "",
"customerServiceEmail": "",
"taxType": "TaxType",
"taxId": "",
"timezone": "",
"fiscalYearStartMonth": 123,
"isDefault": true,
"baseCurrencyId": "456123"
}
}
Name
Type
Description
Response
Name
Type
Description
errors
List (String)
Last updated
Was this helpful?