Update

Overview 

Updates the account and returns a status

Syntax 

Update(1)

Function Properties 

OrdinalTypeDescription
1stringAccount 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:

1var myAccount = Account.Init("MyCustomerKey");
2var status = myAccount.Update({ "FromName" : "Demo From Name" });