List all registered Shopify webhooks

Solved
AmitMsys
New Member
1 0 0

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

0 Likes
garyrgilbert
Explorer
55 6 13

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

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
0 Likes