existing contact add in new list

Highlighted
Frequent Visitor

existing contact add in new list

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.

Tags (2)
1 REPLY 1
Highlighted
Moderator

Re: existing contact add in new list

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
Tags (1)
Developer Portal

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

Constant Contact Would Like To Hear From You!

We want to hear from customers like you about your favorite features and how they have helped your business or organization. Tell us by answering a few questions in...

Read More
Featured