Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
Hi,
When I am trying to register webhooks programmaticaly for a merhcant,
requesturl: https://abc.com/admin/api/2020-04/webhooks.json
Hi,
As per my understanding, you're missing scope for that
Hi Jivan,
If I am not wrong by scope you mean "read access" or "read and write access". How can I set scope while registering webhooks using https request?
Hey @ShrutiM,
You need to request the scopes before creating a webhook. If you're using a private app, the scopes are chosen when you create the API credentials on the Admin > Apps > Private Apps page. If you're using a public app, the scopes are requested during the installation process using Oauth. Once your app has the necessary scopes, you should be able to create those webhooks.
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