Product Update Webhook Not Triggered When Updating Variant Metafield

Hi @KyleG-Shopify

I played with this a little more and I think I found why it is not triggering in our case: we have 7 variant metafields and they’re not all visible on variant view right away.
So to see all metafilds, I need to click on “View all” link, which opens new view with only metafields.
And when I update variant metafield on this view, it does not trigger webhook.

But, when I pinned metafield that I need to update so that it is visible from variant view itself and updated it on that view, webhook was triggered!

There is a diffrence in requests made from these 2 views when metafild is updated:

  • when updating from variant view I see 2 mutation requests:
    • ?operation=MetafieldsSet&type=mutation
    • ?operation=ProductVariantUpdate&type=mutation
  • when updating from “View all” view I see only one mutation
    • ?operation=SetTheseMetafields&type=mutation

Hope this helps to identify the issue and fix second view