Anchor to dataSaleOptOutdata
dataSaleOptOut
mutation
Requires access scope.
Opt out a customer from data sale.
Anchor to Arguments
Arguments
- Anchor to emailemail•String!required
The email address of the customer to opt out of data sale.
Was this section helpful?
Anchor to DataSaleOptOutPayload returnsDataSaleOptOutPayload returns
- Anchor to customerIdcustomer•
Id The ID of the customer whose email address has been opted out of data sale.
- Anchor to userErrorsuser•
Errors [DataSale non-nullOpt Out User Error!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
mutation dataSaleOptOut($email: String!) {
dataSaleOptOut(email: $email) {
customerId
userErrors {
field
message
}
}
}
Input
{
"email": "<your-email>"
}
{
"email": "<your-email>"
}