When does the customer/redact webhook only send an email address?

Highlighted
New Member
2 0 1

the following page: https://help.shopify.com/en/api/guides/gdpr-resources#customer-redact
states under 'customer/redact' that "In some cases, a customer record contains only the customer's email address."

When does it only send the email? we currently don't store anything but the customer's id, so if it only comes in with an email we wouldn't be able to identify the customer. Is this an issue and should we then also store the email as a result?

0 Likes
Highlighted
Shopify Partner
348 25 51

Hi Caius,

 

I think you got the wording mixed. You the app developer will sometimes only send the merchant the customer email. When a request from customer/redact webhooks comes in the customer ID is there you look up using that ID and email your merchant the data you have for that customer. 

 

Regards,

Sam

Custom Apps and Themes Support | Email us: hello@achieveapplabs.com | Follow us on Twitter @achieveapplabs | New Monthly Support by Achieve Applabs www.achieveapplabs.com
1 Like
Highlighted
New Member
2 0 1

It really seems to imply you might receive something like

{
  "shop_id": 954889,
  "shop_domain": "snowdevil.myshopify.com",
  "customer": {
    "email": "john@email.com"
  },
  "orders_to_redact": [299938, 280263, 220458]
}

from the webhook payload. We thought it was really odd that the webhooks might do this if the customer id is available, but I've seen much weirder things.
Thanks for clearing that up :).

1 Like
Highlighted
Shopify Partner
348 25 51

Hi Caius,

 

Yes to be honest it isn't fair to say you got the wording mixed up. The content could always be improved honestly. 

Custom Apps and Themes Support | Email us: hello@achieveapplabs.com | Follow us on Twitter @achieveapplabs | New Monthly Support by Achieve Applabs www.achieveapplabs.com
0 Likes