Skip to main content
Anchor to CustomerUpdatePayload

CustomerUpdatePayload

payload

Return type for customerUpdate mutation.

•Customer

The updated customer.

•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Updates a Customer's attributes including personal information and tax exemptions.

Apps using protected customer data must meet Shopify's protected customer data requirements.

Arguments

•CustomerInput!
required

Provides updated fields for the customer. To set marketing consent, use the customerEmailMarketingConsentUpdate or customerSmsMarketingConsentUpdate mutations instead.



Was this section helpful?