Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
I just ran a test with a 'collections/update' hook and a 'products/update' hook.
For both hooks I registered the metafield_namespaces: ["testapp"]
The products/update hook get's fired whenever metafield with the namespace "testapp" on that product is changed.
However the same is not working for collections.
Why are collection hooks behaving different than the product ones?
Hey there,
I don't think there's a good reason for why webhooks are behaving this way, this looks to me like a bug or an oversight. I'll file a report for this and hope we can get it fixed soon!
Josh | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Hey again @GerwinB
Sorry, no updates to provide as of yet - I'll check back in on this one today and see if I can get any additional info.
Josh | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Hey again,
No updates yet - it's definitely on the to-do list though.
Josh | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
@Josh, can you provide an update yet? It has been 2 more months.
Is the expected behavior for now that the Collections/Update webhook will NOT fire on collection metafield changes or that it will ALWAYS fire on collection metafield changes?
Hey @Stephen24 ,
Still no updates yet, sorry - it looks like this is going to be tackled as part of a larger project instead of a one-off fix. For now, at least based on the time I last tested, metafield updates to a collection don't trigger webhooks.
Josh | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Hi guys,
Is there any new information on this issue? Looks like the problem still exists.