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:

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

NameDescription
startPersonalDataDeletionTaskStarts a data deletion task.
startPersonalDataRetrievalTaskStarts a data retrieval task.
cancelPersonalDataDeletionTaskCancels a data deletion task.

Queries

NameDescription
personalDataDeletionTaskReturns a data deletion task.
personalDataRetrievalTaskReturns a data retrieval task.

Events

EventWhen Event is Published
PERSONAL_DATA_DELETION_TASK_COMPLETEDRepresents that a data deletion request completed.
PERSONAL_DATA_DELETION_TASK_FAILEDRepresents that a data deletion request failed. You can use the personalDataDeletionTask query to find details about the errors.
PERSONAL_DATA_RETRIEVAL_TASK_COMPLETEDRepresents 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_FAILEDRepresents that a data retrieval request failed. You can use the personalDataRetrievalTask query to find details about the errors.

Related topics