How to get a product / variant "committed" inventory?

Viewed 152

Problem:

On the Shopify Admin, section Products > Inventory, there's a "committed" inventory. Shopify inventory Based on my comprehension it means "reserved stock for pending orders", or "inventory reserved by orders created but not yet completed".

This "committed" stock value can be very useful for stock updates by app. But pratically this value seems hard to retreive.

Question:

How to get this "committed" inventory value in an efficient way ?

Current state of researchs :

  • Not possible via Shopify APIs (REST & GraphQL, version 2022-07)
  • Can be approximated (not sure it's the right method) by looping over all unfulfilled orders, and sum up (by variant) the unfulfilled product variant quantity. However, it takes time and consumes a lot of API resources.
1 Answers

According to a Shopify Community Manager (ref. post)

The Committed inventory state isn't added to the API currently.

Related