Anchor to customerCancelDataErasurecustomer
customerCancelDataErasure
mutation
Requires access scope.
Cancels a pending erasure of a customer's data.
To request an erasure of a customer's data use the customerRequestDataErasure mutation.
Anchor to Arguments
Arguments
- Anchor to customerIdcustomer•
Id ID!required The ID of the customer for whom to cancel a pending data erasure.
Was this section helpful?
Anchor to CustomerCancelDataErasurePayload returnsCustomerCancelDataErasurePayload returns
- Anchor to customerIdcustomer•
Id The ID of the customer whose pending data erasure has been cancelled.
- Anchor to userErrorsuser•
Errors The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
mutation customerCancelDataErasure($customerId: ID!) {
customerCancelDataErasure(customerId: $customerId) {
customerId
userErrors {
field
message
}
}
}
Input
{
"customerId": "gid://shopify/<objectName>/10079785100"
}
{
"customerId": "gid://shopify/<objectName>/10079785100"
}