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

Shopify Partner
38 0 0

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?

0 Likes
Shopify Staff
Shopify Staff
1113 77 153

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! 

0 Likes
Shopify Partner
38 0 0

@Josh Any update on this? 


0 Likes
Shopify Staff
Shopify Staff
1113 77 153

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.

0 Likes
Shopify Partner
38 0 0

@Josh Any update on your end on this topic?

0 Likes
Shopify Staff
Shopify Staff
1113 77 153

Hey again, 

 

No updates yet - it's definitely on the to-do list though.

0 Likes
Excursionist
12 0 6

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

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1113 77 153

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.

0 Likes