PERSONAL_DATA_RETRIEVAL_TASK_COMPLETED
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_RETRIEVAL_TASK_COMPLETED
event is published when a data retrieval request fails. A data retrieval request is a request that you make to Buy with Prime to retrieve the customer's data on behalf of the customer. You create data retrieval requests by using the startPersonalDataRetrievalTask
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 retrieval request. You can then use the personalDataRetrievalTask
query for the dataRetrievalLink
that you can use to download the retrieved data.
Related topics
Updated 2 days ago