I was trying to use subscriberAddWithCustomFields(), but I wasn't able to make it work ...
In fact, this work, and returns a success code (0).
But when I try to list my subscribers, CustomFields key is empty ...
For example, a bit of code:
$api_key = 'my_api_key';
$client_id = 'my_client_id';
$list_id = 'my_list_id';
$cm = new CampaignMonitor($api_key,$client_id,null,$list_id);
$cm->method = 'soap';
$mail = 'firstname.lastname@example.org';
$informations = array('Sport' => 'Football', 'Age' => '32');
$result0 = $cm->subscriberAddWithCustomFields($mail, '', $informations);
$result1 = $cm->subscribersGetActive();
[code] => 0
[Message] => Success
[Subscriber] => Array
 => Array
[EmailAddress] => email@example.com
[Date] => 2008-06-27 10:35:00
[State] => Active
Any idea ?
From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that drive real business results.Get started for free