Hello, we have a few questions about how productVariants.SellableOnlineQuantity works?
We are working with some clients who require inventory data to be used from ProductVariants.sellableOnlineQuantiy. We can query that with GraphQL, we also want to receive up-to-date data of the product, so we subscribe to the product/update webhook topic. But the issue is that the event data from the topic doesn’t include the sellable_online_quantity (or any similar names) in the variants, so we have a few questions.
- Is there any way we can get the
sellable_online_quantityfrom the push without throwing another GraphQL query after we receive the pushed event? - Does Shopify fire an update on the topic
product/upatewhen thesellableOnlineQuantityvalue changes? Since we cannot find it in the pushed data, we think it doesn’t effect the webhook.
Thanks for you help!