Query stock quantity of articles via API?

Hi all.
The topic says it all: :slight_smile:
Is it possible to query the quantity of articles via API?

Thanks a lot,

Yes, take a look at the rest API:


Thank you!
Where can I find information about the documents? I.e. which document is it which reports the stock quantity??


I think you can use the Bin doctype to see all the transactions I think. You can filter the ledger by item code and then just take the sum. There probably is also a query that will do this for you (or you could create one). I can’t find it quickly (one that’s whitelisted at least).