Promotions
Get Promotion
Returns a single active promotion
GET
Scope required:
promos.readactive state,
otherwise a 404 Not Found is returned.
The fields of the promotion’s active code pool are flattened onto the
promotion, including generation_type, redemption_count, and total_codes.
Parameters
Promotion ID
Merchant ID
Response
Promotion ID
Promotion name
Promotion state (always
active)Type of discount the promotion applies:
percent, item, or amountDiscount amount, as a string. Null if not set.
Minimum spend required to redeem, as a string. Null if not set.
Maximum discount that can be applied, as a string. Null if not set.
Terms and conditions
Where the promotion can be redeemed:
all, instore, or onlinePromotion start timestamp (ISO8601). Null if not set.
Promotion end timestamp (ISO8601). Null if not set.
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.Number of times codes in the active pool have been redeemed
Total number of codes in the active pool
Status of asynchronous code generation for the active pool:
none,
in_progress, complete, or failed. Poll this field after requesting
code generation via Create Promotion
or Generate Promotion Codes.