Got a 'How do I' question? Join 'Ask a Trainer' Monday to Friday, 11am to 4pm ET for instant help and pro tips!

existing contact add in new list

SandeepN96
Rookie
0 Votes

i am getting this error while using Constant Contact API java library.
you have given solution of manually moving contact to another list but i am using API.
I want to add existing contact into new list which i have created using Constant Contact API java library.
I have successfully created new list using the v2 API but I want to add existing contact into the
created list but i am getting error.

1 REPLY 1
Jimmy_D
Employee
0 Votes

Hello @SandeepN96,

 

Thank you for reaching out to Constant Contact's API Support.

 

You did not mention what error you are getting, but the most likely reason you are having problems is you are using the wrong endpoint. In order to move an existing contact in to a different list you will need to update the contact using a PUT.

https://developer.constantcontact.com/docs/contacts-api/contacts-resource.html?method=PUT


Regards,
Jimmy D.
Tier II API Support Engineer
Resources
Developer Portal

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

Visit Page

Announcements

API Updates

Join our list to be notified of new features and updates to our V3 API.

Sign Up