Creates a Marketing Cloud Engagement API Object.

The CreateObject() function has one parameter:

  • objectName (string): Required. The name of the new API Object.

This example creates a Subscriber object in the Marketing Cloud Engagement API.

An object created with CreateObject() only persists for one Invoke API call. If you create a Subscriber object and then update it using the InvokeUpdate() function, you can’t pass it to a Triggered Send.