AMPscript
Add
Check Content
Remove
Retrieve
Update
Validate
Validate Your Server-Side JavaScript using WSProxy
Updates an email based on the specified criteria.
Update(1)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | Criteria used to search for email |
This sample code updates the Name and Subject attributes of the email to the specified value:
1var myEmail = Email.Init("myEmail");
2var status = myEmail.Update({ "Name": "Updated Name", "Subject" : "Updated Email Subject" });