Update
Overview
Updates the subscriber and returns a statusSyntax
Update(1)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required |
Example
This sample code updates a currently existing subscriber.
var subscriber = {
"EmailTypePreference": "HTML",
"Attributes":{"First Name": "Test", "Last Name": "User"}
};
var subObj = Subscriber.Init("SubKey");
var status = subObj.Update(subscriber);