Skip to main content
mutation

Requires write_customers access scope.

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

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

•CustomerInput!
required

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

Show input fields

Was this section helpful?

Anchor to CustomerUpdatePayload returnsCustomerUpdatePayload returns

•Customer

The updated customer.

Show fields
•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?