Webhooks are not visible in admin api when creating via https request

Highlighted
New Member
7 0 0

Hi All,

I have created webooks using 

1.  using shopify console(Settings-> Notifications -> Create webhooks)

2. Https request

Using postman when I am hittin url: https://mun-test1.myshopify.com/admin/api/2020-04/webhooks.json,
I am getting response:

 

{"webhooks":[{"id":763508916273,"address":"https:\/\/cartupdate.free.beeceptor.com\/my\/api\/ordercreate\/mun","topic":"orders\/create","created_at":"2020-06-24T08:28:04-04:00","updated_at":"2020-06-24T08:28:04-04:00","format":"json","fields":[],"metafield_namespaces":[],"api_version":"2020-01","private_metafield_namespaces":[]},{"id":763510784049,"address":"https:\/\/dev.greyfox.ai\/ezloyal-web\/shopify-events\/order\/create","topic":"orders\/create","created_at":"2020-06-24T08:47:00-04:00","updated_at":"2020-06-24T08:47:00-04:00","format":"json","fields":[],"metafield_namespaces":[],"api_version":"2020-01","private_metafield_namespaces":[]},{"id":763514486833,"address":"https:\/\/dev.greyfox.ai\/ezloyal-web\/shopify-events\/customer\/update","topic":"customers\/update","created_at":"2020-06-24T09:13:04-04:00","updated_at":"2020-06-24T09:13:04-04:00","format":"json","fields":[],"metafield_namespaces":[],"api_version":"2020-01","private_metafield_namespaces":[]}]}

 

But these webooks are the ones that I created using shopify Https POST request. This resposne doesnt contain the webhooks that created from shopify UI. And again above metioned webhooks are not appearing in shopify UI.

Can anyone help me if I am doing any thing wrong

 

 

0 Likes
Highlighted
Shopify Staff
Shopify Staff
5 0 1

Hi @viveksolanki – the webhooks you add through the console won't be visible when using the REST endpoints, and vice versa – webhooks added through REST won't show up in the console. You can verify your REST webhooks were added correctly by doing a GET and confirming the list returned. Hope this helps!

1 Like