Total Posts: 28
I’m trying to use the Magento API to externally get some data out of the store. I managed to get a list of featured products (see last forum topic).
Now i want to get the topsellers from the store but i’m stuck with not very well documented API features.
The API works, albeit very slow, and i can select the orders for instance like so:
This works fine, but when i want to add some filters to this call, which is said to work in the documentation, i can’t get it to work.
$orderList = $client->call('call', array($session, 'sales_order.list'));
The documentation says:
// Getting list of orders created by John Doe
var_dump($proxy->call($sessionId, 'sales_order.list', array(array('billing_name'=>array('like'=>'&#xJo;hn
When i modify this to something like this:
only order 100006575 is returned.
$orderList = $client->call('call', array($session, 'sales_order.list', array(array('increment_id'=>array('greater than' => 100006575)))));
So my question is, what filters are there that i can use, and how can i properly use them ?
Any help will be greatly appreciated!