Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
I am trying to find all registered webhooks on shopify. I am handling a shopify app which is developed by some other developers and they did not documented that when/where they have registered webhooks . For example , they might have registered a "update order" webhook with PUT https://example.com/update but My back-end server have many put endpoints. So I am not sure which update end point is registered with shopify that why I am trying to find all the registered webhooks.
I have gone through the docs https://shopify.dev/api/admin/rest/reference/events/event#order-events-2021-07
I also find in this youtube video that I can see only the hooks that is created by me. https://www.youtube.com/watch?v=FO2ch1wxfcQ&t=350s
Stack-overflow : https://stackoverflow.com/questions/68617588/list-all-registered-shopify-webhooks
Solved! Go to the solution
This is an accepted solution.
Hi, Of course you can only get the webhooks that the app originally registered...and I am guessing that this is a public app?
just use the webhooks.json endpoint that will list all webhooks that the app registered with a specific client.. You will need to make a GET backend call to that endpoint to a shop that has installed the app with the appropriate access token.. that will give you a list of all webhooks that your app registered with the shop.
https://[shop]/admin/api[version]/webhooks.json
Cheers
This is an accepted solution.
Hi, Of course you can only get the webhooks that the app originally registered...and I am guessing that this is a public app?
just use the webhooks.json endpoint that will list all webhooks that the app registered with a specific client.. You will need to make a GET backend call to that endpoint to a shop that has installed the app with the appropriate access token.. that will give you a list of all webhooks that your app registered with the shop.
https://[shop]/admin/api[version]/webhooks.json
Cheers
the correct url is
https://[shop].myshopify.com/admin/api/[version]/webhooks.json
I had a similar issue and found this program https://github.com/ScreenStaring/shopify-dev-tools. It has options for doing other common tasks too.