Receive 'product/update' webhooks from variant metafield updates

Receive 'product/update' webhooks from variant metafield updates

pd-camille
Shopify Partner
2 0 4

Hey, I saw a lot of conversations regarding similar questions, most of them are from 3 years ago.

 

I would like to know how / if possible at all, I can receive a webhook for when a product's variant's metafields are updated.

 

basically when `product.variants[0].metafields` changes. 

 

If that is not possible, then what's the best way to keep that data within my system in sync with shopify's state in a near/real-time ? 

 

Thanks,

Camille

Reply 1 (1)

Dynasort
Shopify Partner
56 5 14

In our testing, we've never been able to rely on webhooks to fire for variant (or other) metafields changing. If it's a small product set, you could poll them through the rest or graphQL api (prob. best). If it's large, polling with bulk data requests in graphQL is the way to go.

The Dynasort App

Dynamic collection sorting based on your product attributes. https://apps.shopify.com/dynasort