Skip to main content
Version: 3.x

CustomerInput

No description

input CustomerInput {
defaultBillingAddress: AddressInput
defaultShippingAddress: AddressInput
firstName: String
lastName: String
email: String
isActive: Boolean
note: String
metadata: [MetadataInput!]
privateMetadata: [MetadataInput!]
languageCode: LanguageCodeEnum
externalReference: String
isConfirmed: Boolean
}

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.metadata ● [MetadataInput!] list input

Fields required to update the user metadata.

Added in Saleor 3.14

CustomerInput.privateMetadata ● [MetadataInput!] list input

Fields required to update the user private metadata.

Added in Saleor 3.14

CustomerInput.languageCode ● LanguageCodeEnum enum

User language code.

CustomerInput.externalReference ● String scalar

External ID of the customer.

Added in Saleor 3.10

CustomerInput.isConfirmed ● Boolean scalar

User account is confirmed.

Added in Saleor 3.15

Member of

CustomerBulkUpdateInput input ● customerUpdate mutation


Was this page helpful?