Skip to main content

CreateCustomerInput

Autogenerated input type of CreateCustomer

input CreateCustomerInput {
billToCompany: String
billToEmail: String
billToName: String
billToPhone: String
billToSameAsShipTo: Boolean
billingAddress: CustomerAddressInput
clientMutationId: String
contactName: String
contactTitle: String
customerType: CustomerTypeEnum
defaultTemplateId: ID
defaultView: CustomerViewEnum
email: String
freightPayer: FreightPayerEnum
handle: String
legalName: String
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​

CreateCustomerInput.billToCompany ● String scalar common​

Default bill-to company name.

CreateCustomerInput.billToEmail ● String scalar common​

Default bill-to contact email.

CreateCustomerInput.billToName ● String scalar common​

Default bill-to contact name.

CreateCustomerInput.billToPhone ● String scalar common​

Default bill-to contact phone.

CreateCustomerInput.billToSameAsShipTo ● Boolean scalar common​

When true (default), bill-to contact details mirror ship-to.

CreateCustomerInput.billingAddress ● CustomerAddressInput input common​

Default billing address. Cannot be provided while bill-to mirrors ship-to.

CreateCustomerInput.clientMutationId ● String scalar common​

A unique identifier for the client performing the mutation.

CreateCustomerInput.contactName ● String scalar common​

Named primary contact for a business customer.

CreateCustomerInput.contactTitle ● String scalar common​

Role or title of the named primary contact.

CreateCustomerInput.customerType ● CustomerTypeEnum enum people​

The kind of buying entity. Defaults to BUSINESS.

CreateCustomerInput.defaultTemplateId ● ID scalar common​

Default B2B template for the customer's orders.

CreateCustomerInput.defaultView ● CustomerViewEnum enum common​

Default customer record layout. Null follows customerType without changing the customer type.

CreateCustomerInput.email ● String scalar common​

Contact email.

CreateCustomerInput.freightPayer ● FreightPayerEnum enum people​

Who pays freight on this customer's shipments.

CreateCustomerInput.handle ● String scalar common​

Optional stable identifier unique within the company; useful as an upsert key for uploads.

CreateCustomerInput.legalName ● String scalar common​

The registered legal entity name, when it differs from the display name - what belongs on invoices, tax documents and contracts.

CreateCustomerInput.name ● String! non-null scalar common​

Display name of the buying entity.

CreateCustomerInput.notes ● String scalar common​

Internal notes about the customer relationship.

CreateCustomerInput.parentId ● ID scalar common​

Parent customer for single-level family rollup.

CreateCustomerInput.paymentTerms ● String scalar common​

Payment terms label (e.g. "Net 30").

CreateCustomerInput.phone ● String scalar common​

General contact phone for the relationship, distinct from the ship-to and bill-to snapshots on an order.

CreateCustomerInput.preferredContactMethod ● PreferredContactMethodEnum enum people​

The customer's stated preferred communication channel.

CreateCustomerInput.preferredLanguage ● String scalar common​

The customer's stated preferred language.

CreateCustomerInput.salesChannelId ● ID scalar common​

The customer's home sales channel.

CreateCustomerInput.shipToCompany ● String scalar common​

Default ship-to company name.

CreateCustomerInput.shipToEmail ● String scalar common​

Default ship-to contact email.

CreateCustomerInput.shipToName ● String scalar common​

Default ship-to contact name.

CreateCustomerInput.shipToPhone ● String scalar common​

Default ship-to contact phone.

CreateCustomerInput.shippingAccounts ● [CustomerShippingAccountInput!] list input people​

Carrier accounts billed for this customer's shipments.

CreateCustomerInput.shippingAddress ● CustomerAddressInput input common​

Default shipping address.

CreateCustomerInput.startDate ● ISO8601Date scalar common​

The calendar date when the customer relationship began.

CreateCustomerInput.taxExempt ● Boolean scalar common​

Whether the customer is exempt from sales tax.

CreateCustomerInput.taxId ● String scalar common​

The buying entity's tax identification number.

CreateCustomerInput.website ● String scalar common​

The buying entity's website URL.

Member Of​

createCustomer mutation