Add <%= audience_list.split.map(&:capitalize)*' ' %> Membership
POST to /audience_lists/{name_of_list}/add
with 3 parameters:
username
▪ Your <%= product.full_name %>
api_key
▪ The
email
address you want to add{name_of_list}
must be an existing list in your account and must be correctly url encoded.This will add an existing member to a list or create a new audience member with that email address and add that member to the list. Any additional parameters passed (such as first_name and last_name) will be added or updated on the audience member.
Note that you can add any additional parameters you like which will be added to the member.
You can specify suppressed
which will add the member to the list but suppress the member if the member is new. It will not suppress an already existing member.