FROM CACHE - en_header

GDPR endpoint for customers/data_request

Marko7
New Member
1 0 0

Hello dear Shopify, we are having a dilemma about the GDPR endpoint for customers/data_request, on this link https://shopify.dev/tutorials/add-gdpr-webhooks-to-your-app#customers-data_request in the payload there is a data_request that has an id, and here https://shopify.dev/concepts/trust-and-security/gdpr there is no mention about it, so we are wondering what does the data_request id represent?

Reply 1 (1)
_JB
Shopify Staff
Shopify Staff
836 99 211

Hey @Marko7,

The id field on the parent object represents the id of the data deletion request itself. Every time a customer makes a request for data to be deleted, that request will be assigned a unique id. I'm not sure why the field isn't present in our docs, thanks for pointing that out though, I'll bring this up with our docs team. 

JB | Solutions Engineer @ Shopify 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog