Add

Overview 

Adds a new delivery profile to the account and returns the created object

Syntax 

Add(1)

Function Properties 

OrdinalTypeDescription
1objectRequiredJSON object representing the properties of the new delivery profile

Example 

This sample code adds a delivery profile to your account:

1var newDP = {
2    "Name" : "SSJS Added Delivery Profile",
3    "CustomerKey" : "test_delivery_profile",
4    "Description" : "An SSJS Added Profile",
5    "SourceAddressType" : "DefaultPrivateIPAddress"
6};
7var newProfile = DeliveryProfile.Add(newDP);