REST API GET Adjustment history

REST API GET Adjustment history

mrnewrochelle
Shopify Partner
2 0 9

Hi, I am wondering if there is a way to get the inventory history of a product using REST ADMIN API same way that I can see it on Shopify Admin like this post explain.

  I would like to retrieve at least the inventory of the last 48 hs of any product.

Thanks.

 

 

 

 

Replies 14 (14)

Klondev
Shopify Partner
689 82 272

Hi and hello, currently there is no way of extracting a history for the inventory levels. There is maybe a quick solution: We could try to implement a history logging mechanism thru the Admin API so that you can get reports based on those history data.

Stephan | Co-Founder @ Klondev Automation GmbH
- War meine Antwort hilfreich? Dann freu' ich mich über ein Like
- Wurde deine Frage beantwortet? Dann markiere gerne meine Antwort als Akzeptierte Lösung
- Hier findest du unser Profil und unseren Kontakt

mrnewrochelle
Shopify Partner
2 0 9

Thanks @Klondev  for your answer.
But, yes, we need a solution for this since I am not the only one here asking this question, this is a "must have" feature, and I would appreciate if you can do that.
Again, Thanks.

Sigmundt_Kappel
Tourist
5 0 11

how would you do this?

fabiofili2pi
Shopify Partner
4 0 3

Yes, any kind of report would be good enough for us. Do you have any update?

Mete
Shopify Partner
134 0 40

We also need this API along with Transfer API.

Co-Founder / Developer at: merchbees
Merchbees Low Stock Alert - Keep track of your low stock items by email and slack
Merchbees Inventory Value - Know your inventory value and quantity in real-time
Push Down & Hide Out of Stock - Move out of stock products to the bottom of the collection to improve SEO & hide/ unhide automatically

Sigmundt_Kappel
Tourist
5 0 11

I need this too. 

I want to query the API for inventory changes and who did it. 

This way we can give staff attribution and credit for updating a product. 

bgenius1
Visitor
1 0 2

Has anyone found out if this is possible?

kiavash
Tourist
7 0 4

This API feature would be very important, a way to systematically track and pull inventory adjustment data would be great for store security and loss prevention. 

ShopifyDevSup
Shopify Staff
1451 238 497

Hi all - I noticed @kiavash's new post here and wanted to reach out. At the moment, you folks are correct that there isn't a way to track a product's inventory adjustment history via the REST API. It is possible to get some minimal information about inventory levels, by querying the InventoryLevel resource (particularly, the "updatedAt" field). That said, that's definitely not as detailed as the view within the merchant admin. 

There is a great use case here though, so I wanted to get in touch through this thread to mention that I'll be putting together a report on this to send to our product team as a feature request. I can't guarantee anything in terms of an answer or if the feature will be built, but it is for sure something we can see the value in being available to partner developers. 
 

Al | Shopify Developer Support. 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

Sigmundt_Kappel
Tourist
5 0 11

Yes Bro! do it, do it, go go go! 

I need that sweet sweet inventory history! 

alex_assisty
Shopify Partner
1 0 4

Hi @ShopifyDevSup, the API for the inventory adjustment history is significant to many merchants.

At least, showing the reason for the inventory update in webhook of inventory_levels is also a good option to record the inventory adjustment.

Sigmundt_Kappel
Tourist
5 0 11

webhooks are not very reliable if the listener goes down for a moment. 

 

an API call, this way we can poll shopify and retrieve the data, even if it's only the last 90 days shown by shopify we can do a replication to our own database. 

badgerinator
Visitor
1 0 4

Is there any progress? Will such a feature be developed or has it been developed?

kishan_gohel
Shopify Partner
11 0 8

Hi Shopify team,

 

There are lots of developers who want this feature. We all want just inventory history like cost price and it's all change log. It will be helpful to all businesses if the Shopify team provides this feature via any API. 

 

Any update regarding this will be very helpful.