AMPscript
Add
Remove
Update
Validate Your Server-Side JavaScript using WSProxy
Adds a new delivery profile to the account and returns the created object
Add(1)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | object | Required | JSON object representing the properties of the new delivery profile |
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);