Retrieve and Delete Shopper Data
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.
Privacy regulations give individuals rights with respect to their personal data. The right to know is a shopper’s right to retrieve their personal data. The right to delete is a shopper’s right to request deletion of their personal data. You can make a data retrieval request or data deletion request for shopper personal data contained within your Buy with Prime account.
API operations
You use the following mutations, queries, and events to retrieve and delete customer data.
Mutations
Name | Description |
---|---|
startPersonalDataDeletionTask | Starts a data deletion task. |
startPersonalDataRetrievalTask | Starts a data retrieval task. |
cancelPersonalDataDeletionTask | Cancels a data deletion task. |
Queries
Name | Description |
---|---|
personalDataDeletionTask | Returns a data deletion task. |
personalDataRetrievalTask | Returns a data retrieval task. |
Events
Event | When Event is Published |
---|---|
PERSONAL_DATA_DELETION_TASK_COMPLETED | Represents that a data deletion request completed. |
PERSONAL_DATA_DELETION_TASK_FAILED | Represents that a data deletion request failed. You can use the personalDataDeletionTask query to find details about the errors. |
PERSONAL_DATA_RETRIEVAL_TASK_COMPLETED | Represents that a data retrieval request completed. You can use the personalDataRetrievalTask query to get a link at which you can download the data. |
PERSONAL_DATA_RETRIEVAL_TASK_FAILED | Represents that a data retrieval request failed. You can use the personalDataRetrievalTask query to find details about the errors. |
Related topics
Updated about 6 hours ago