Promotions
List Promotions
Returns active promotions for a merchant
GET
Scope required:
promos.readactive state are returned.
Each promotion flattens the fields of its active code pool onto the promotion
(a promotion has one active pool in practice), including the code
generation_type, the running redemption_count, and total_codes.
Parameters
string
required
Merchant ID
integer
The current page of paginated resources.
- Default:
1.
integer
Number of records to be returned per API request.
- Default:
10 - Minimum:
1 - Maximum:
100
Response
string
Promotion ID
string
Promotion name
string
Promotion state (always
active for listed promotions)string
Type of discount the promotion applies:
percent, item, or amountstring
Discount amount, as a string. Null if not set.
string
Minimum spend required to redeem, as a string. Null if not set.
string
Maximum discount that can be applied, as a string. Null if not set.
string
Terms and conditions
string
Where the promotion can be redeemed:
all, instore, or onlinedatetime
Promotion start timestamp (ISO8601). Null if not set.
datetime
Promotion end timestamp (ISO8601). Null if not set.
string
How the pool’s codes are generated:
multi_use (a shared code redeemable
multiple times) or single_use (a batch of one-time codes). Null if the
promotion has no code pool.integer
Number of times codes in the active pool have been redeemed
integer
Total number of codes in the active pool
string
Status of asynchronous code generation for the active pool:
none,
in_progress, complete, or failedhash
Pagination information