Skip to main content

CustomerInput

No description

input CustomerInput {
defaultBillingAddress: AddressInput
defaultShippingAddress: AddressInput
firstName: String
lastName: String
email: String
isActive: Boolean
note: String
companyName: String
personalPhone: String
passwordUrl: String
taxExemptCode: String
customFields: [AttributeValueInput!]
vatIdentificationNumber: String
sendCustomerSetPasswordEmail: Boolean
seller: ID
addGroups: [ID!]
isStaff: Boolean
}
Show more ↓

Fields

CustomerInput.defaultBillingAddress ● AddressInput input

Billing address of the customer.

CustomerInput.defaultShippingAddress ● AddressInput input

Shipping address of the customer.

CustomerInput.firstName ● String scalar

Given name.

CustomerInput.lastName ● String scalar

Family name.

CustomerInput.email ● String scalar

The unique email address of the user.

CustomerInput.isActive ● Boolean scalar

User account is active.

CustomerInput.note ● String scalar

A note about the user.

CustomerInput.companyName ● String scalar

Only filled out if the account is a business account.

CustomerInput.personalPhone ● String scalar

Personal phone number.

CustomerInput.passwordUrl ● String scalar

Password url

CustomerInput.taxExemptCode ● String scalar

Tax exempt code

CustomerInput.customFields ● [AttributeValueInput!] list input

List of custom fields.

CustomerInput.vatIdentificationNumber ● String scalar

Marketplace VAT identification number

CustomerInput.sendCustomerSetPasswordEmail ● Boolean scalar

Indicates whether a 'set password' email should be sent to the customer.

CustomerInput.seller ● ID scalar

Seller to add customer to during staff upgrade, if no seller is supplied a new seller will be created.

CustomerInput.addGroups ● [ID!] list scalar

List of permission group IDs to which customer should be assigned during staff upgrade.

CustomerInput.isStaff ● Boolean scalar

Upgrade customer to a staff member, if this is provided you must also provide values for seller and add_groups.

Member Of

customerUpdate mutation

Was this page helpful?