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
1mutation customerCancelDataErasure($customerId: ID!) {2 customerCancelDataErasure(customerId: $customerId) {3 customerId4 userErrors {5 field6 message7 }8 }9}
Input
1{2 "customerId": "gid://shopify/<objectName>/10079785100"3}
{
"customerId": "gid://shopify/<objectName>/10079785100"
}