CustomerUpdateInput
InputSpecifies the fields to update a customer.
#
Fields
- [ID!]
customerGroups The new list of customer group IDs the customer belongs to.
- String
email The new email address of the customer.
- String
firstName The new first name of the customer.
- ID!
id The ID of the customer to update.
- String
lastName The new last name of the customer.
- Boolean
marketingConsent Indicates whether the customer has consented to marketing.
- [KeyValuePairOfStringAndStringInput!]
metadata The new metadata of the customer.
- [CustomerMetafieldInput!]
metafields The metafield values to add or update on the customer. Existing metafields not included in the list are preserved. When explicitly specified as null, all assigned customer metafields are removed.