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. For shopper personal data contained within your Buy with Prime account, you can:
- Retrieve a Shopper's Personal Data
- Delete a Shopper's Personal Data
- Cancel a Data Deletion Request
- Query Privacy Requests
When you submit a data retrieval request or data deletion request, expect up to 30 calendar days of processing time before the request takes effect. For data deletion requests, if you specify a holding period, the processing time begins only after the holding period ends.
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 2 months ago