CustomerInput Input Type
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
customerType: ID
attributes: [AttributeValueInput!]
}
Fields
defaultBillingAddress ● AddressInput
Billing address of the customer.
defaultShippingAddress ● AddressInput
Shipping address of the customer.
firstName ● String
Given name.
lastName ● String
Family name.
email ● String
The unique email address of the user.
isActive ● Boolean
User account is active.
note ● String
A note about the user.
metadata ● [MetadataInput!]
Fields required to update the user metadata. Can be read by any API client authorized to read the object it's attached to.
Warning: never store sensitive information, including financial data such as credit card details.
privateMetadata ● [MetadataInput!]
Fields required to update the user private metadata. Requires permissions to modify and to read the metadata of the object it's attached to.
Warning: never store sensitive information, including financial data such as credit card details.
languageCode ● LanguageCodeEnum
User language code.
externalReference ● String
External ID of the customer.
isConfirmed ● Boolean
User account is confirmed.
customerType ● ID
ID of the customer type to assign to the user. If not provided when creating a customer, the default customer type is assigned.
Added in Saleor 3.23attributes ● [AttributeValueInput!]
List of attribute values to assign to the user. The attributes must belong to the customer type the user ends up with.
Added in Saleor 3.23Member Of
CustomerBulkUpdateInput input ● customerUpdate mutation