Managing Personal-Data
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.You can view the logs for the original data item from Step 1 or any of the related data items found in Step 2.
Call the
logs
endpoint and specify theid
andtype
in the filter gg See the Personal Data Logs page for more information.