Constant Contact List Option

JonathanS37094
Participant

Constant Contact List Option

The API works fine returning the contact, but not the list option associated with the contact.  I'm trying to read the correct ContactOptInList for a contact, but the API returns only the default  (ex General Intrest).  What is the correct method to return the contact's list options (so we can Identify what selection they made). Also, the correct method to modify a contact's list option.

1 REPLY 1
bsoder
Employee

Hello,

 

I want to be sure I understand what you mean.  You would like to be able to use the API to pull a contact and determine what list they signed up for?

 

If this is the case, whenever you pull a contacts details, it shows the ContactLists nodes and has every contact list the contact is in.  You can then modify each ContactList node and either remove them, change them, or add new ones, and do a PUT call back to the contacts URI, which will update the contact with new contact lists.

 

If you have any other questions, or if I misunderstood your question, please let me know!

 

Regards,

Benjamin Soder
NOC Analyst
Constant Contact
Developer Portal

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

Visit Page