How to update an existing contactList email address

Highlighted
Occasional Visitor

How to update an existing contactList email address

Hi ,

 

    I want to update an email address of an existing contact list.But I am getting below exception message while trying.

 

Response:

[{
   
"error_key": "json.field.invalid",
   
"error_message": "#/email: Property was found but is not permitted at this location."
}]

 

 My Request as below:

 

{

"name": "General Interest",
"status": "ACTIVE",
"email":"parmanand111@gmail.com"

}

 

 Kindly suggest me how to update an exsiting contactList email. I am new to this API.

 

Thanks.

2 REPLIES 2
Highlighted
Honored Contributor

Re: How to update an existing contactList email address

Hello,

 

Based on what you've provided, it looks like the issue is that you're trying to update the Contact List, rather than the Contacts that are members of the List. You can read more about how to update contacts here: http://developer.constantcontact.com/docs/developer-guides/working-with-contacts.html#update_contact

 

If you're looking to simply add new contacts to a list, then I would advise reading the Creating a Contact section of the article linked above. If you have any questions for me, please let me know!

 

Sincerely,

Elijah G.
API Support Engineer
Highlighted
Occasional Visitor

Re: How to update an existing contactList email address

Hi Elijah,

 

Thank you for reply.But can you tell me is there any way to update the email id of contactList not conatct. Can you please suggest me how we can update it. It will be very helpful for me.

 

Thanks

Developer Portal

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

Visit Page

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