Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Endpoints >

Number of units sold per month of specified product?

Started by Joshua Bray -   in API Endpoints

Hi there,

I've connected to the Xero API using xero-php-oauth2, and am getting most of the accounting information i need.

I can't seem to grab stock quantity by month, can anyone help?

Please note that I have got current quantity from the ->getItems'quantity_on_hand' method, but this doesn't give me what I want.

I know that Inventory Item Summary report would do it but it's seemingly unavailable.

I look forward to hearing from you.

Thanks

Joshua


Don't worry I've written a script to take care of it.
 

Joshua Bray