Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

resubscribe customer via php api #76

Closed
handoyo opened this issue Nov 19, 2014 · 4 comments
Closed

resubscribe customer via php api #76

handoyo opened this issue Nov 19, 2014 · 4 comments
Labels

Comments

@handoyo
Copy link

handoyo commented Nov 19, 2014

Hi,I got another question if it's possible to use php api to resubscribe customer that haved unsubscribe via email?thanks

@WoogieNoogie
Copy link
Contributor

If the user is opted out, the only way we will accept them back into the account is by their action. Using the updateContact method with the third parameter as "true" will indicate to the API that the user is taking this action, and not the account owner. The contact will likely receive a new welcome email as a result of this as well.

You'll just want to make sure that this isn't misused. US law requires that if a user unsubscribes from a list, they cannot be added back by the mailer, so any sort of sync or other account owner addition of contacts should not use the method in this way, but something like a signup form should.

@ctctsupport
Copy link

Someone wrote a decent doc page on opting contacts back in, and autoresponder (welcome email) triggers:

http://developer.constantcontact.com/docs/contacts-api/contacts-index.html

@handoyo
Copy link
Author

handoyo commented Nov 19, 2014

Thanks a lot,I will test the updatecontact method and add the true to the third parameter.

@handoyo handoyo closed this as completed Nov 20, 2014
@handoyo handoyo reopened this Nov 20, 2014
@handoyo
Copy link
Author

handoyo commented Nov 20, 2014

Hi,I have managed to make it works as expected.Thanks a lot

@handoyo handoyo closed this as completed Nov 20, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants