Add

Overview

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

Syntax

Add(1)

Function Properties

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);
Last Updated: Jun 8, 2021