Developer visibility of inventory history

jim27
Shopify Partner
11 0 1

Hello,

I'm developing a platform for shopify merchants and I need access to the merchant stocks. The only thing is, I want access to the inventory history. So, if someone downloads my platform today, I want to know how much they had in stock in the previous days. I know merchants can look at their own inventory history but I want to have access to it. Is there any way I can do this? And if so, can I get some guidance?

Thanks,

Jim

KieranMasterton
Shopify Staff (Retired)
Shopify Staff (Retired)
22 0 12

Hi Jim, 

Inventory history isn't available via our Admin API but you could log inventory changes yourself within your application by registering a webhook and tracking inventory. You'd achieve this with the: 

inventory_levels/update

webhook and you can read more about webhooks in general here: https://help.shopify.com/en/api/reference/events/webhook

 

I hope this helps!