AMPscript
Retrieve
Tracking.Retrieve
Update
Validate Your Server-Side JavaScript using WSProxy
Use Account Server-side JavaScript functions to access and modify accounts within your Marketing Cloud Engagement account.
In your server-side JavaScript code, load the core library using the syntax below:
1Platform.Load("core", "1");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.