Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

mutation

Requires write_customers access scope.

Update a customer's attributes. As of API version 2022-10, apps using protected customer data must meet the protected customer data requirements.

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


Was this section helpful?

Anchor to CustomerUpdatePayload returnsCustomerUpdatePayload returns

The updated customer.

The list of errors that occurred from executing the mutation.


Was this section helpful?