Feature request - add variant GUIDs on webhook inventory_level/update

Hi,

We’d like to be able to use the webhook inventory_level/update and get the GUIDs of affected variants directly from the webhook. In the same way as the product update webhook returns a full list of attached variants GUIDs.

I’m fully aware that we can use a simple graphql request to fetch it, but we’re trying to build at scale.

All we need here is to know which variants are concerned and sending an API request is unnecessary extra overhead.

We are dealing with merchants with very large catalogs some with as many as 1 million product variants, who can also trigger a very large amount of webhooks in a short time. It means that at every webhook we have to emit an API request, that will always take hundreads of ms, that can fail, that can undergo network latency, can get throttled, we can apply our own throttling at server level etc.. At this scale it’s a lot.

Everyone is paying for it. We pay it with server time, Shopify pays it with unnecessary API traffic, merchants pay it with added delay.

If variants GUIDs could be added to the webhook directly, it would make everything a lot simpler.

This is a follow up of a previous question I posted here Some explanation of the field "sellableOnlineQuantity" and obeserved delay - #8 by Kellan-Shopify

Thank you

Hi @Soufiane_Ghzal,

Thanks for the detailed feedback here, I will be sharing this feedback internally, and while we can’t guarantee when or if this will be added, I can assure you that our developers and product team does take all of our partner and merchant feedback into great value when determining future features and platform changes.

I’d recommend keeping an eye on our Shopify.dev changelog to be notified if this is added or changed in the future.