Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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
I'd like to know the answer to this as well.
I've tried subscribing to webhook with all metafields & private metafields namespaces but when I update a variant's metafield it doesn't send any notifications.
Hi, did anyone managed to figure out why?
I'm also trying to trigger product/update webhook when updating variant's metafield. But it doesn't seems to work.
I tried all sort of registration and nothing seems to work.
[
"id" => ....
"address" => "https://mydomain.com/webhook/products-update"
"topic" => "products/update"
"metafield_namespaces" => array:1 [
0 => "pos"
]
"api_version" => "2023-01"
"private_metafield_namespaces" => array:1 [
0 => "pos"
]
]
I tried various combination of namespaces and nothing works.
"pos", "variant.metafields.pos", "variant.metafields.pos.title"
Any help will be greatly appreciated!
*UPDATES*
I tried to create a metafield in product level using the same namespace "pos" and the webhook was triggered when metafield in product level is updated!
Seems like there is no way to trigger the webhook when variant level metafield is updated 😞
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025