Promotions
List Promotion Codes
Returns the codes for a promotion’s active pool
GET
Scope required:
promos.readactive state, otherwise a 404 Not Found is returned.
If the promotion has no active pool, an empty codes array is returned with
zero total pages.
To pull codes to hand out to customers, filter by status=unredeemed. Note
that a code stays unredeemed until the customer redeems it at the point of
sale — not when you send it — so you must track which codes you have already
dispensed on your side. See
Dispensing codes to customers.
Parameters
string
required
Promotion ID
string
required
Merchant ID
string
Filter by redemption status:
unredeemed or redeemed. Omit to return all
codes.integer
The current page of paginated codes.
- Default:
1
integer
Number of codes to return per request.
- Default:
500 - Minimum:
1 - Maximum:
10000
Response
string
The promotion code
string
Redemption status:
redeemed if the code has been redeemed at least once,
otherwise unredeemedhash
Pagination information