Retrieve Items in Stock
Posted: Mon Jun 26, 2023 6:48 am
I'm trying to retrieve items in stock via the API, specifically higher value items.
I am able to retrieve items in a storage device through the API fine, however I do not appear to be able to use the orderby parameter to sort by InventoryValue (or Name/ID) using ?orderby=InventoryValue
I suppose I could pull down a list of all items in stock and sort it programatically, however the maximum page size is 250 - is there a way to retrieve the total number of items in a storage device so I could calculate how many pages i would need to pull?
I am able to retrieve items in a storage device through the API fine, however I do not appear to be able to use the orderby parameter to sort by InventoryValue (or Name/ID) using ?orderby=InventoryValue
I suppose I could pull down a list of all items in stock and sort it programatically, however the maximum page size is 250 - is there a way to retrieve the total number of items in a storage device so I could calculate how many pages i would need to pull?