Trying to update custom merge fields with ListUpdateMember

Jun 30, 2011 at 9:11 PM

Hello,

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("CustomerID","XXX999");
            merges.Add("SalesName","This is a test name");
            merges.Add("SalesEmail","email@domain.com");
            merges.Add("SalesPhone","678-555-1234");
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.