Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
Given a webhook topic, how do I find out what scope is required to create a webhook on that topic?
Is this documented anywhere?
I guess that's a no?
Hey Clement,
In general you will need the same OAuth scopes for the webhook as you would for the corresponding REST API. The OAuth scopes are documented here: https://help.shopify.com/api/guides/authentication/oauth#scopes
Any app can register the app/uninstall webhook.
To learn more visit the Shopify Help Center or the Community Blog.
Right, but only read scopes are required, right?
For example, if I want to be notified whenever an order is created/updated, I wouldn't need the scope 'write_orders', would I? (since webhooks are only a read-only notifications)
Hi Clement,
You are correct.
For example, if you wish to subscribe to products/update webhooks, you must have the read_orders scope.
To learn more visit the Shopify Help Center or the Community Blog.
Great. Thanks!