Hi! Hope you’re all alright!
I’m having an issue with the fetch_stock webhook.
Currently we’re sending our current stock to the Shopify API so it’s displayed correctly sync in our customer’s dashboards.
For example, for an specific SKU, we’re sending 0 as our on_hand quantity, so we expect the available quantity to be displayed as 0.
This specific SKU has 2 pending orders, so it has 2 as commited quantity. It appears that for the fetch_stock webhook, Shopify is adding that 2 commited to our on_hand, so our available is currently being displayed as 2, even if we don’t have any more stock in our inventory.
This is really dangerous, because it could result in an overselling.
Could this be a bug for the webhook? Or could it be that we have some configuration that’s causing this strange behaviour on our side?
I’ll appreciate any help and please let me know if we have to provide more information to solve this issue.
Thank you!