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 - idand- type. You need to pass this information to the endpoint in the next step.note- Currently, the personal data management functionality is only enabled for entities under - v2/accounts,- v2/customersand- v2/authentication-realmsURL prefixes.
- Call the - related-data-entriesendpoint and specify the- idand- typein the filter.- See Personal Data Related Data Entries for more information. 
- You can use pagination links inside the - metafield 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.