Webhooks - collection/update - metafield_namespaces are not triggering hook and are not included

Webhooks - collection/update - metafield_namespaces are not triggering hook and are not included

GerwinB
Shopify Partner
78 2 14

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?

Replies 8 (8)

Josh
Shopify Staff
1134 84 234

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

GerwinB
Shopify Partner
78 2 14

@Josh Any update on this? 


Josh
Shopify Staff
1134 84 234

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

GerwinB
Shopify Partner
78 2 14

@Josh Any update on your end on this topic?

Josh
Shopify Staff
1134 84 234

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

Stephen24
Shopify Partner
14 0 8

@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?

Josh
Shopify Staff
1134 84 234

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

jjarey
Shopify Partner
5 0 1

Hi guys,

 

Is there any new information on this issue? Looks like the problem still exists.