UpdateCustomerInput
Autogenerated input type of UpdateCustomer
input UpdateCustomerInput {
billToCompany: String
billToEmail: String
billToName: String
billToPhone: String
billToSameAsShipTo: Boolean
billingAddress: CustomerAddressInput
clientMutationId: String
contactName: String
contactTitle: String
contacts: [CustomerContactUpdateInput!]
customerType: CustomerTypeEnum
defaultTemplateId: ID
defaultView: CustomerViewEnum
email: String
freightPayer: FreightPayerEnum
handle: String
id: ID!
legalName: String
locations: [CustomerLocationUpdateInput!]
name: String
notes: String
parentId: ID
paymentTerms: String
phone: String
preferredContactMethod: PreferredContactMethodEnum
preferredLanguage: String
salesChannelId: ID
shipToCompany: String
shipToEmail: String
shipToName: String
shipToPhone: String
shippingAccounts: [CustomerShippingAccountInput!]
shippingAddress: CustomerAddressInput
startDate: ISO8601Date
taxExempt: Boolean
taxId: String
website: String
}
Fields
UpdateCustomerInput.billToCompany ● String scalar common
Default bill-to company name.
UpdateCustomerInput.billToEmail ● String scalar common
Default bill-to contact email.
UpdateCustomerInput.billToName ● String scalar common
Default bill-to contact name.
UpdateCustomerInput.billToPhone ● String scalar common
Default bill-to contact phone.
UpdateCustomerInput.billToSameAsShipTo ● Boolean scalar common
When true, bill-to contact details mirror ship-to.
UpdateCustomerInput.billingAddress ● CustomerAddressInput input common
Default billing address. Pass null to remove it; cannot be provided while bill-to mirrors ship-to.
UpdateCustomerInput.clientMutationId ● String scalar common
A unique identifier for the client performing the mutation.
UpdateCustomerInput.contactName ● String scalar common
Named primary contact for a business customer.
UpdateCustomerInput.contactTitle ● String scalar common
Role or title of the named primary contact.
UpdateCustomerInput.contacts ● [CustomerContactUpdateInput!] list input common
Contact changes. Omit id to add, include id to edit, or id and delete to archive. Omitted contacts are unchanged.
UpdateCustomerInput.customerType ● CustomerTypeEnum enum people
The kind of buying entity.
UpdateCustomerInput.defaultTemplateId ● ID scalar common
Default B2B template for the customer's orders.
UpdateCustomerInput.defaultView ● CustomerViewEnum enum common
Default customer record layout. Null follows customerType without changing the customer type.
UpdateCustomerInput.email ● String scalar common
Contact email.
UpdateCustomerInput.freightPayer ● FreightPayerEnum enum people
Who pays freight on this customer's shipments.
UpdateCustomerInput.handle ● String scalar common
Optional stable identifier unique within the company; useful as an upsert key for uploads.
UpdateCustomerInput.id ● ID! non-null scalar common
The customer to update.
UpdateCustomerInput.legalName ● String scalar common
The registered legal entity name, when it differs from the display name - what belongs on invoices, tax documents and contracts.
UpdateCustomerInput.locations ● [CustomerLocationUpdateInput!] list input common
Changes to saved locations; other locations remain unchanged.
UpdateCustomerInput.name ● String scalar common
Display name of the buying entity.
UpdateCustomerInput.notes ● String scalar common
Internal notes about the customer relationship.
UpdateCustomerInput.parentId ● ID scalar common
Parent customer for single-level family rollup.
UpdateCustomerInput.paymentTerms ● String scalar common
Payment terms label (e.g. "Net 30").
UpdateCustomerInput.phone ● String scalar common
General contact phone for the relationship, distinct from the ship-to and bill-to snapshots on an order.
UpdateCustomerInput.preferredContactMethod ● PreferredContactMethodEnum enum people
The customer's stated preferred communication channel.
UpdateCustomerInput.preferredLanguage ● String scalar common
The customer's stated preferred language.
UpdateCustomerInput.salesChannelId ● ID scalar common
The customer's home sales channel.
UpdateCustomerInput.shipToCompany ● String scalar common
Default ship-to company name.
UpdateCustomerInput.shipToEmail ● String scalar common
Default ship-to contact email.
UpdateCustomerInput.shipToName ● String scalar common
Default ship-to contact name.
UpdateCustomerInput.shipToPhone ● String scalar common
Default ship-to contact phone.
UpdateCustomerInput.shippingAccounts ● [CustomerShippingAccountInput!] list input people
Carrier accounts billed for this customer's shipments. Replaces the full set; include ids to keep existing rows; pass [] to remove all.
UpdateCustomerInput.shippingAddress ● CustomerAddressInput input common
Default shipping address. Pass null to remove it.
UpdateCustomerInput.startDate ● ISO8601Date scalar common
The calendar date when the customer relationship began. Pass null to clear it.
UpdateCustomerInput.taxExempt ● Boolean scalar common
Whether the customer is exempt from sales tax.
UpdateCustomerInput.taxId ● String scalar common
The buying entity's tax identification number.
UpdateCustomerInput.website ● String scalar common
The buying entity's website URL.
Member Of
updateCustomer mutation