Need Guidance on Implementing Shopify Compliance Webhooks Logic
I’m currently working on setting up Shopify Compliance Webhooks (specifically customers/data_request, customers/redact, and shop/redact) for my app. I understand how to configure these in the Shopify Partner Dashboard, but I’m looking for some help with the logic behind handling these webhook events:
For customers/data_request, how should I structure the data retrieval and respond with customer data? For customers/redact, what’s the best practice for securely deleting or anonymizing customer data? For shop/redact, how should I approach deleting all shop-related data in compliance with GDPR? If anyone has experience with this or has set up these webhooks before, I’d love to hear your thoughts and best practices!