MailChimp.Api.Net icon indicating copy to clipboard operation
MailChimp.Api.Net copied to clipboard

Is there a way to add members to a list in an existing group?

Open casti004 opened this issue 7 years ago • 1 comments

Installed versions : [MailChimp.Api.Net x.x.x]

Description

Replace this text with a short description, Explain what it's doing and why you think it's wrong.

Expected behavior

Explain what it should be doing after it's fixed.

casti004 avatar May 20 '17 21:05 casti004

i'm using:

var mcMember = new MCMember
{
    email_address = "[email protected]",
    status = "subscribed",
    merge_fields = new Dictionary<string, object>
    {
        { "FNAME", "firstName" },
        { "LNAME", "lastName" }
    }
};
var response = await new MailChimpList().AddMember(mcMember, "my-list-id");

any errors are returned as JSON in response

vincelee888 avatar May 25 '17 15:05 vincelee888