2

Is it possible to extract stock movement for each product between a time period, through a api call?

1
  • What is your Magento version? Commented Oct 30, 2016 at 7:45

1 Answer 1

0

unfortunately, no. There is no history of the stock, or any "snapshots" of the product stock at any time. What you can do, but this is not 100% reliable since the stock can be altered manually, is to get the current stock and subtract from it the quantity ordered since the day you want until now.

To get the qty ordered for a product you can try this one, but you need to add the date filters by yourself.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.