cancel
Showing results for 
Search instead for 
Did you mean: 

OPTOUT for PUT call not functioning

Occasional Advisor

OPTOUT for PUT call not functioning

Hi Constant Contact,

 

I'm trying to make a PUT call in the I/O docs and OPTOUT a contact, but the response body continues to say ACTIVE (even though the call succeeds). Any idea why this is happening? I've attached screenshots to show you what I've done, and please let me know if you need more info. Any help you can provide will help greatly.

 

Thanks,

Nick W

PUT call 1.PNG

PUT call 2.PNG

PUT call 3.PNG

PUT call 4.PNG

PUT call 5.PNG

1 REPLY 1
Honored Contributor

Re: OPTOUT for PUT call not functioning

Hello,

 

The reason that changing the OPTOUT status through a PUT request is not working is because that action is separated into a different API call. In order to change a contact to OPTOUT status, you need to make a DELETE request to https://api.constantcontact.com/v2/contacts/CONTACTID

 

If you continue to have any problems, please let us know!

 

Best Regards,

Elijah G.
API Support Engineer