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_privacy_settings access scope.

Opt out a customer from data sale.

String!required

The email address of the customer to opt out of data sale.


Was this section helpful?

Anchor to DataSaleOptOutPayload returnsDataSaleOptOutPayload returns

The ID of the customer whose email address has been opted out of data sale.

The list of errors that occurred from executing the mutation.


Was this section helpful?