View Personal-Data Logs for All Related Items
You can find all data items that belong to a user (not only a specific data item) and see logs for them.
Before you begin
- Ensure that the user is signed into the store with appropriate seller permissions.
Only sellers with Seller Admins, Support and IT roles can access the API.
Procedure
Note the ID and type of the data item for which you want to find related data items.
It could be any data item that belongs to the user of interest (for example, a customer or address.)
Most get/update/create responses in the Commerce API contain mandatory fields
id
andtype
. You need to pass this information to the endpoint in the next step.noteCurrently, the personal data management functionality is only enabled for entities under
v2/accounts
,v2/customers
andv2/authentication-realms
URL prefixes.Call the
related-data-entries
endpoint and specify theid
andtype
in the filter.See Personal Data Related Data Entries for more information.
You can use pagination links inside the
meta
field to navigate. See pagination for more information.Choose a specific data item from the list and follow the View Personal Data Logs manual to get the logs for it.