The (promo code exception list) item object holds information about an (exception list) item. You can create, retrieve, replace, and delete one or all (exception list) item(s) on a promo code exception list, as well as list all (promo code exception list) items in one promo code exception list.
Attributes
Id integer
Id integerId of the item listed in the promo code exception list.
Value string
Value stringWhat the exception list item is searching for. This will be the PROMO CODE value that the exception list looks at.
Name string
Name stringName of the promo code exception list item.
MatchMode enum
MatchMode enumHow the promo code exception list matches what is on its list to what was purchased.
| View possible enum values | |
|---|---|
EQ | Promo code exception list looks for exact matches. |
REGEX | Promo code exception list looks for matches using regex. When a customer purchases an item that is listed in an exception list, it must match the regular expression of how the item appears on the exception list entered in impact.com to be tracked. Learn more about regular expression. Test a regular expression. |
ListId integer
ListId integerPromo code exception list's Id.
CreatedDate string
CreatedDate stringDate and time the promo code exception list item was created. See ISO-8601.
Uri string
Uri stringException list item's direct URI.
{
"Id": "80000000",
"Value": "Anvils",
"Name": "White Anvil",
"MatchMode": "EQ",
"ListId": "00042",
"CreatedDate": "2019-09-03T16:15:23-07:00",
"Uri": "/Advertisers/<AccountSID>/PromoCodeExceptionLists/1000/Items/80000000"
}