GetInventoryItems filters

I'm struggling a little with the GetInventoryItems endpoint. I'm trying to formulate a query that retrieves all the InventoryItems that are not allocated to a particular Channel:


POST /api/Inventory/GetInventoryItems HTTP/1.1

Host: api.linnworks.net

Authorization: <MY TOKEN>

Content-Type: application/x-www-form-urlencoded; charset=UTF-8

Cache-Control: no-cache


startIndex=1&itemsCount=10&view={"Filters":[{"FilterName":23,"FilterNameExact":["MySource","MySubSource"],"Condition":8,"ConditionDisplayName":"NotListed","Field":6}]}


It's not clear from the documentation which attributes are required, however I've tried many permutations of the above (without "Field", without "ConditionDisplayName" etc...) and every time it returns every item in my Inventory - unfiltered.


I've used Linnworks.net to create the same View and it works like a charm. Any guidance on how to achieve this?


Thanks in advance!

Hello,


Can you please create a ticket to my attention. I want to arrange a team viewer session with you and show you few tricks that will help you.


Kind regards,

Nikita Barford


Login to post a comment