Add
Overview
Adds a new delivery profile to the account and returns the created objectSyntax
Add(1)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | object | Required | JSON object representing the properties of the new delivery profile |
Example
This sample code adds a delivery profile to your account:
var newDP = {
"Name" : "SSJS Added Delivery Profile",
"CustomerKey" : "test_delivery_profile",
"Description" : "An SSJS Added Profile",
"SourceAddressType" : "DefaultPrivateIPAddress"
};
var newProfile = DeliveryProfile.Add(newDP);