For AI agents: the docs index is at https://impact-enterprise-group.readme.io/impact-publisher/llms.txt. Append .md to any documentation page URL to get its markdown version.
This endpoint retrieves a paginated list of promo codes for the specified partner account, supporting filtering by search string, program ID, sorting options, and pagination controls.
Query Parameters
Query Parameters
Parameter
Type
Required
Description
Example
SearchString
string
No
Search phrase across all promo codes.
summer
ProgramId
array[integer]
No
Filter by one or more program IDs.
[6554, 9786]
AdvertiserId
array[integer]
No
Filter by one or more advertiser IDs.
[2456, 36646]
DealId
array[integer]
No
Filter by one or more deal IDs.
[5867, 47834]
CreditRule
array[string]
No
Allowed values: ALWAYS, INVOLVED, WINNER
["ALWAYS","WINNER"]
MatchMode
array[string]
No
Allowed values: LI (Exact match) RE (Regex match)
["RE"]
CreatedDateStart
string (ISO8601)
No
Filter promo codes created after this date/time (inclusive).
2024-07-19T17:46:44+02:00
CreatedDateEnd
string (ISO8601)
No
Filter promo codes created before this date/time (inclusive).
2024-08-19T17:46:44+02:00
StartDateStart
string (ISO8601)
No
Filter promo codes that start after this date/time (inclusive).
2024-07-20T00:00:00+02:00
StartDateEnd
string (ISO8601)
No
Filter promo codes that start before this date/time (inclusive).
2024-07-19T23:59:59+02:00
EndDateStart
string (ISO8601)
No
Filter promo codes that end after this date/time (inclusive).
2024-08-20T00:00:00+02:00
EndDateEnd
string (ISO8601)
No
Filter promo codes that end before this date/time (inclusive).
2024-08-19T23:59:59+02:00
PageSize
int
No
Number of promo codes per page (default 100). Allowed: 50–1000.
60
Page
int
No
Page number to return (starting at 1).
2
SortBy
string
No
Field to sort results by (any filter param can be used).
ProgramId
SortOrder
enum
No
Sort direction. Allowed values: ASC, DESC.
ASC
Match Mode for Promo Codes
Mode
Description
LI
Exact match - The promo code must match exactly as entered in the platform to be tracked
RE
Regex match - The promo code can match a regular expression, allowing for flexibility with case and spacing
Credit Rules for Promo Codes
Mode
Description
ALWAYS
Always credit - The assigned partner will always be credited with the sale.
INVOLVED
Credit if involved - The partner will be credited if they were involved in the sale.
WINNER
Credit if winner - The partner will be credited only if they drive the last click.
Returns
Returns a list of promo codes according to the specified search, filters, sorting, and pagination parameters.