Hi Lorna,
Great post that has helped me a lot. Your code works perfectly for selecting the customer by ‘customer_id’ but I cannot figure out for the life of me how to get a list of customers based on ‘updated_at’.
I have tried lots of variations of the following code:
[geshi lang=php]
$client = new SoapClient(‘http://mymagehost/index.php/api/v2_soap?wsdl=1’);
$session = $client->login(‘username’, ‘password’);
$filter = new StdClass();
$filter->filter = array(array(“key” => “updated_at”, “value” => array(“key”=>”from”, “value”=>”2011-01-25 00:00:00”)));
$list = $client->customerCustomerList($session, $filter);
[/geshi]
Can you shed some light on this for me?
Thanks in advance!
Dave