Skip to main content

AccountInput Input Type

Fields required to update the user.

input AccountInput {
firstName: String
lastName: String
languageCode: LanguageCodeEnum
defaultBillingAddress: AddressInput
defaultShippingAddress: AddressInput
metadata: [MetadataInput!]
}

Fields​

firstName ● String​

Given name.

lastName ● String​

Family name.

languageCode ● LanguageCodeEnum​

User language code.

defaultBillingAddress ● AddressInput​

Billing address of the customer.

defaultShippingAddress ● AddressInput​

Shipping address of the customer.

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.

Member Of​

accountUpdate mutation