MyNewsletterBuilder API
Overview Quick Start Examples Downloads
 
SubscriberUpdate < Return to Method List
boolean SubscriberUpdate(string $id_or_email, structure $details [, array $lists])
Update the data and lists for a subscriber.
Parameters
string id_or_email The subscriber id or email address to look up.
struct details A keyed structure of subscriber data, containing any of these keys:

string email The subscriber's email address.
string first_name first_name field data.
string middle_name middle_name field data.
string last_name last_name field data.
string full_name full_name field data.
string company_name company_name field data.
string job_title job_title field data.
string phone_work phone_work field data.
string phone_home phone_home field data.
string address_1 address_1 field data.
string address_2 address_2 field data.
string address_3 address_3 field data.
string city city field data.
string state state field data.
string zip zip field data.
string country country field data.
string Custom Fields The response also contains custom field values. The keys are either custom_X (0 - 9) or the names you have assigned to them.
array lists OPTIONAL. An array of subscriber lists to move the subscriber into. If empty, no changes are made to the subscriber's lists. See SubscriberDelete() or SubscriberUnsubscribe().
Return Value
boolean Returns TRUE on success, or an error structure.
 
 
Copyright © 2003- MyNewsletterBuilder, Inc.