PERSONAL_DATA_DELETION_TASK_FAILED

📘

Buy with Prime API is now available for early access

Sign up for early access to the Buy with Prime API using the 'Sign Up' button below. The API may change as Amazon receives feedback and iterates on it.

The PERSONAL_DATA_DELETION_TASK_FAILED event is published when a data deletion request fails. A data deletion request is a request that you make to Buy with Prime to delete the customer's data on behalf of the customer. You create data deletion requests by using the startPersonalDataDeletionTask mutation.

For details on the schema and fields of an event, see Subscribe to Events.

Required permission

To subscribe to this event, your API credentials must have at least Manage Shopper Privacy Requests permission. You choose permissions when you generate your API credentials. For details, see Authenticate to the Buy with Prime API.

Handling the event

When you receive this event, parse the resources array of the event for the task ID of the data deletion request. You can then use the personalDataDeletionTask query and examine the errors array of the response for details.

Related topics