The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

Updating a User

New Member

Updating a User


I am using C#, and I PUT the following XML to

<entry xmlns=""><id>data:,none</id><title type="text">Contact:</title><summary type="text">Contact</summary><updated>2010-06-03T13:24:32-06:00</updated><author /><link href="" /><content type="application/vnd.ctct+xml">

<Contact xmlns="" id="">




<Name>Joe Bloe</Name>













<StateName>New York</StateName>


<CountryName>United States</CountryName>




















<ContactLists >

        <ContactList id="">

          <link xmlns="" href="/ws/customers/ddevault/lists/5" rel="self"></link>











However, I get a 409 Conflict error.  Both the user and the list exist, and the only changing information is the state they are from, changing from CO \ Colorado to NY \ New York.




Looks like the cause is your

Looks like the cause is your id field in the XML.  You are using the following ID value:


However, all id values are set up using http:// not https://.  This is due to a change we made from our original requests that were all in http to processing them over https for security purposes.  We chose to leave the ID as http as it really has no bearing on how to process ATOM requests and was already unique.  Change your ID to:

Dave Berard
Senior Product Manager, Constant Contact
New Member

It works great now, thanks!

It works great now, thanks!

Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More