Trying to update custom merge fields with ListUpdateMember

Jun 30, 2011 at 9:11 PM


I am trying to update several custom merge tags that exist within a list for a specific email address - eventually I will want to update many users at the same time.

I am having a problem figuring out how to call the ListUpdateMember method to perform the update on the selected merge fields for the given record.

Can someone provide an C# example of how to update a customer merge field, such as the persons name, or company, for a given email address on a specific list?

Jun 30, 2011 at 11:04 PM

OK, I was able to get this working:

            var merges = new List.Merges();
            merges.Add("SalesName","This is a test name");
Where the dictionary name is the "merge tag" name setup in MailChimp, and the value on the right is the value you want to set the merge field to.