Create a promo code exception list

Creates a new promo code exception list.

Parameters


ActionTrackerId required

Comma-separated list of the event type Ids (formerly known as action tracker Ids) to be associated with this promo code exception list.


CampaignId required

Program Id that this promo code exception list applies to.


Name required

Name of the promo code exception list.


Returns


Returns the status of the request and the URI of the newly created promo code exception list. Returns an error if parameters are invalid or if a required parameter is missing.

Example Request


curl 'https://api.impact.com/Advertisers/<AccountSID>/PromoCodeExceptionLists' \
  -X POST \
  -u '<AccountSID>:<AuthToken>' \
  -d 'Accept: application/json' \
  -d 'ActionTrackerId=10002' \
  -d 'CampaignId=1000' \
  -d 'Name=BlueHammers' \

Example Response


{
  "Status": "OK",
  "Uri": "/Advertisers/<AccountSID>/PromoCodeExceptionLists/10002"
}