Create an item for a promo code exception list

Creates a new item for a promo code exception list.

Parameters


Value required

What the promo code exception list item is searching for. This will be the PROMO CODE value that the exception list looks at.

Returns


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

Example Request


curl 'https://api.impact.com/Advertisers/<AccountSID>/PromoCodeExceptionLists/<PromoCodeExceptionListId>/Items' \
-X POST \
-u '<AccountSID>:<AuthToken>' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'Value=INFL001' \
curl 'https://api.impact.com/Advertisers/<AccountSID>/ExceptionLists/<ExceptionListId>/Items' \
-X POST \
-u '<AccountSID>:<AuthToken>' \
-H 'Content-Type: multipart/form-data' \
-F 'File=@"path/to/a/file.csv"'
-d 'Upsert=true'

Example Response


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