dataSaleOptOut - admin-graphql - MUTATION
Version: 2025-01
Description:
Opt out a customer from data sale.
Access Scopes
`write_privacy_settings` access scope.
Arguments
-
email:
String! -
The email address of the customer to opt out of data sale.
Returns
-
customerId:
ID
The ID of the customer whose email address has been opted out of data sale.
-
userErrors:
DataSaleOptOutUserError!
The list of errors that occurred from executing the mutation.
Examples