Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rickhernandezio/c7fa2c3b926ebc7486f615f099c50106 to your computer and use it in GitHub Desktop.
Save rickhernandezio/c7fa2c3b926ebc7486f615f099c50106 to your computer and use it in GitHub Desktop.
Update a selected subscriber from a selected mailing list
const user = {
address: 'example@example.com',
name: 'Brandy',
vars: {} /* Variables you want to save */
};
const list = 'mailing-list@domain.com';
mailPro.updateSubscriber(list, user).then(result => {});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment