I am trying to retrieve all customers from my magento shop, but only those who activated the newsletter subscription in their account.
Problem: I cant figure out how to filter this attribute ("newsletter", is there one?).
I got:
$proxy = new SoapClient('http://magentohost/api/v2_soap/?wsdl');
$sessionId = $proxy->login('apiUser', 'apiKey');
$params = array(
'sessionId' => $session_id,
'filters' => null
);
$allCustomers = $proxy->customerCustomerList($params);
This returns ALL customers. Any ideas how to filter this by newsletter-subscription?