How can see the variants(inventory) quantity history shopify

How can I have access to inventory level history?

For example, see the quantity of a specific SKU in 2021-09-01,2021-09-02,2021-09-03 and 2021-09-04,

I was trying the Graphql but I don’t think it what I want

{ inventoryItems(first: 10, query:“updated_at:>=2018-09-01”) {
edges {
node {
id
updatedAt
variant {
id
sku
inventoryQuantity
}

}
}
}
}

Duplicate , There is no such API support at this time:

April 2020, There is no API to get the Inventory History of a specific inventory item. A close workaround you could do instead is subscribe to the Webhook topic of “inventory_levels/update”. That way you will get a notification from Shopify every time an Inventory Level change occurs, and you will know exactly which Inventory Item ID and which location the change happened for. Read more about webhooks here: https://shopify.dev/docs/admin-api/rest/reference/events/webhook> > - https://community.shopify.com/c/shopify-apis-and-sdks/access-to-inventory-level-history/td-p/691933

In other words, currently apps have to maintain their own state and history of inventory.

1 Like