SetObjectProperty()
Sets a value for an object created by the CreateObject()
function.
The SetObjectProperty()
function has three parameters:
apiObject
(API Object): Required. The API Object that you’re setting a value for.propertyName
(string): Required. The name of the property to assign a value to.propertyValue
(string): Required. The value to assign to the property.
This example creates an API Object called Subscriber, gives it the EmailAddress property, and sets the value of that property to an email address.