Skip to main content

UpdateCustomerInput

Changes to a customer. Omitted fields stay as they are.

input UpdateCustomerInput {
addressCity: String
addressCountry: String
addressPostalCode: String
addressState: String
addressStreet1: String
addressStreet2: String
alsoCreateAsVendor: Boolean
assignedSalesRepId: String
businessCategory: String
buyingProcess: String
certifications: [String!]
communicationPreference: String
companySize: String
contactEmail: String
contactName: String
contactPhone: String
creditLimit: Int
creditRating: String
customerType: String
decisionMaker: String
description: String
displayName: String
id: ID!
industry: String
leadTimeDays: Int
legalName: String
loyaltyPoints: Int
loyaltyTier: String
marketingOptIn: Boolean
minimumOrderValue: Int
name: String
notes: String
paymentTerms: String
preferredCurrency: String
preferredShippingMethod: String
productCategories: [String!]
registrationNumber: String
seasonality: String
serviceAreas: [String!]
specialInstructions: String
tags: [String!]
taxId: String
type: String
vendorType: String
website: String
}

Fields​

UpdateCustomerInput.addressCity ● String scalar​

The city.

UpdateCustomerInput.addressCountry ● String scalar​

The country.

UpdateCustomerInput.addressPostalCode ● String scalar​

The postal code.

UpdateCustomerInput.addressState ● String scalar​

The state or region.

UpdateCustomerInput.addressStreet1 ● String scalar​

The first line of the street address.

UpdateCustomerInput.addressStreet2 ● String scalar​

The second line of the street address.

UpdateCustomerInput.alsoCreateAsVendor ● Boolean scalar​

True to also create the customer as a vendor, using the vendor terms.

UpdateCustomerInput.assignedSalesRepId ● String scalar​

The ID of the sales rep the customer is assigned to. Admins may set it. For a sales rep creating the customer, the server sets it to that rep.

UpdateCustomerInput.businessCategory ● String scalar​

The customer's business category.

UpdateCustomerInput.buyingProcess ● String scalar​

How the customer buys.

UpdateCustomerInput.certifications ● [String!] list scalar​

The customer's certifications.

UpdateCustomerInput.communicationPreference ● String scalar​

How the customer prefers to be contacted.

UpdateCustomerInput.companySize ● String scalar​

The size of the customer's company.

UpdateCustomerInput.contactEmail ● String scalar​

The email address of the main contact.

UpdateCustomerInput.contactName ● String scalar​

The name of the main contact.

UpdateCustomerInput.contactPhone ● String scalar​

The phone number of the main contact.

UpdateCustomerInput.creditLimit ● Int scalar​

The credit limit. 0 or less means unlimited.

UpdateCustomerInput.creditRating ● String scalar​

The customer's credit rating.

UpdateCustomerInput.customerType ● String scalar​

The customer's business type.

UpdateCustomerInput.decisionMaker ● String scalar​

Who makes the buying decision.

UpdateCustomerInput.description ● String scalar​

What the customer is.

UpdateCustomerInput.displayName ● String scalar​

The name to show for the customer.

UpdateCustomerInput.id ● ID! non-null scalar​

The ID of the customer to change.

UpdateCustomerInput.industry ● String scalar​

The customer's industry.

UpdateCustomerInput.leadTimeDays ● Int scalar​

The vendor's expected days from order to delivery, when also created as a vendor.

The legal name of the customer.

UpdateCustomerInput.loyaltyPoints ● Int scalar​

The customer's loyalty points.

UpdateCustomerInput.loyaltyTier ● String scalar​

The customer's loyalty tier.

UpdateCustomerInput.marketingOptIn ● Boolean scalar​

True when the customer agreed to marketing messages.

UpdateCustomerInput.minimumOrderValue ● Int scalar​

The smallest order value the customer may place.

UpdateCustomerInput.name ● String scalar​

The name of the customer.

UpdateCustomerInput.notes ● String scalar​

Notes about the customer.

UpdateCustomerInput.paymentTerms ● String scalar​

The payment terms agreed with the customer.

UpdateCustomerInput.preferredCurrency ● String scalar​

The currency of the customer's documents. Leave out to use the organization's default.

UpdateCustomerInput.preferredShippingMethod ● String scalar​

The customer's preferred shipping method.

UpdateCustomerInput.productCategories ● [String!] list scalar​

The product categories the customer deals in.

UpdateCustomerInput.registrationNumber ● String scalar​

The customer's company registration number.

UpdateCustomerInput.seasonality ● String scalar​

When the customer's buying peaks.

UpdateCustomerInput.serviceAreas ● [String!] list scalar​

The areas the customer serves.

UpdateCustomerInput.specialInstructions ● String scalar​

Special instructions for handling the customer.

UpdateCustomerInput.tags ● [String!] list scalar​

Tags on the customer.

UpdateCustomerInput.taxId ● String scalar​

The customer's tax ID.

UpdateCustomerInput.type ● String scalar​

The kind of customer.

UpdateCustomerInput.vendorType ● String scalar​

The kind of vendor, when also created as a vendor.

UpdateCustomerInput.website ● String scalar​

The customer's website.

Member Of​

updateCustomer mutation