In my store, I create a new app inside dev dashboard, installed it.
With the Client ID and Secret, I was creating "orders/create", "orders/paid", "orders/updated" webhooks.
It was working fine and worked for my other stores.
But suddely it started throwing this error
'You do not have permission to create or update webhooks with orders/updated topic. This topic contains protected customer data.
Anyway to solve this problem?
Sorry for the typo. I can’t edit the post
Hey man! @mcnaveen
This is actually expected, and nothing’s wrong with your code.
Shopify recently tightened the rules around some order webhooks, especially ones that include customer data. The orders/updated webhook now falls under “protected customer data”, so apps can’t create or update it unless they have special approval.
If you really need orders/updated, your best option is to request access from Shopify. Go to your Shopify Partner Dashboard, open your app, and head to Data access. From there, request access to “protected customer data” and briefly explain why your app needs order updates. Once Shopify approves the request, the webhook will start working again.
Hope this helps!
The “orders/updated” webhook now requires extra permissions due to protected customer data. Check Shopify’s updated API rules to resolve the error.