Functions

Use Account Server-side JavaScript functions to access and modify accounts within your Marketing Cloud Engagement account.

Load 

In your server-side JavaScript code, load the core library using the syntax below:

1Platform.Load("core", "1");

Initialization 

To interact with an Account via server-side JavaScript, you must first initialize the object. This code initializes an account with the external key of ‘myAccount’.

1Account.Init("myAccount");

Once you initialize the Account object, you can use the other Account functions.