Inventory Commited

Inventory Commited

BernardoSABS
Shopify Partner
1 0 0

Hi Guys,

 

I need to get unshipped orders for a specific location, for that i use the following path "/admin/api/2022-07/orders.json?&financial_status=paid&fulfillment_status=unshipped&status=open&reference_location_id=".

 

This request dont do all the work becouse dont show only the products in that location, but show all products inside the order. Now i need to check first location_id with stock available + committed stock, how can i get the committed stock using Rest API or Graphql???

Reply 1 (1)

gentlemon
Shopify Partner
17 0 3

shopify finally added this in the 2023-01 API version. The docs are really bad regarding this, but someone gave a hint how to get committed inventory amount, see here:

https://community.shopify.com/c/payments-shipping-and/committed-inventory-state/m-p/1939899/highligh...

For understanding how it works now:
https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states