Inventory Movements

Hey,

I am wondering if there is a endpoint that you can get the how much quantity of an item has been deprecated in the last 7 days.

something that shows this would be awesome, but with the ability query by time.

inventoryhistoryurl

Regards,

Chris

Hey @ChrisBradley,

There isn’t currently an API endpoint to see the inventory history. The inventoryHistoryUrl you mentioned does bring you to the admin where you can see the history.

Depending on the movement you need to track, one workaround could be to use the orders endpoint and filter by sku to return all orders that included a particular product over a certain period of time and then use the line items to calculate the quantity.

@KyleG-Shopify

Have thought about this already, but it doesn’t encapsulate Inventory Adj and Purchase Order Receipts, Etc.

As there is not current stable endpoint for PO/INVADJ its a little bit hard to do accurately.

I am kind of curious why this doesn’t exist, as there is obviously an internal ledger somewhere (as this URL utilises it)…

It would be super helpful to have that available as a graphQL endpoint (at least for me) and I guess looking wider at the shopify platform, once Inventory and Purchase Order GraphQL endpoints exist actually make the platform a viable alternative to having a Inventory System.

Thanks again Chris. I’ve shared this feedback with our inventory product teams as well. :slight_smile:

1 Like