Update

Overview

Updates the account and returns a status

Syntax

Update(1)

Function Properties

Ordinal Type Description
1 string Account attributes to change

If the passed attributes include TimeZoneID, the call uses that value to update the account time zone.

Example

This sample code changes the FromName attribute of the account to the specified value:

var myAccount = Account.Init("MyCustomerKey");
var status = myAccount.Update({ "FromName" : "Demo From Name" });
Last Updated: Jun 8, 2021