How to filter Packages in zoho inventory api
Hi Team,
I want to perform some tasks in a schedular on the packages which are in "Shipped" state.
I tried to use filter_by in my api call but in return I get response as {"code":-1,"message":"Given filter is not configured"}
My Api request is as follows
get_package_url =
+ "?organization_id=" + org_id
+ "&filter_by=shipped";
packageresponse = invokeurl
[
url :get_package_url
type :GET
connection:"zohoinventoryconnection"
];
Can some please help? how can I get only shipped packages?
I also tried another approach of getting all packages but the for loop only considers 200 records. which I think depends on pageination.
Thanks,
Payal