Update Contacts By Email

Update Contacts By Email


Function

  • updateContactByEmail()

Url

  • POST: /PuresendService/v1/updateContactByEmail

Parameters

  • listId: int
    • set -1 to update across All lists.
  • email: String
    • email to set the opt-out status for.
  • optOut: boolean
    • set opted out or not.
  • emailBounced: boolean
    • set email Bounced or not.

Return

  • statusCode: int
    • 1: success

Exception

  • Exception

Documentation

  • Update Contact by Email.

Examples

{
    "listId": 1234,
    "email": "test@email.com",
    "hasOptedOut": false,
    "emailBounced": true
}
{
    "statusCode": 1
}