Coupon batch
The CouponBatch family — 3 operations.
A coupon batch is a set of unique single-use codes minted at once from one coupon — up to 48 per batch, each generated for you under your chosen prefix and each unlocking the parent coupon’s terms exactly once; a code spent on an order that is later cancelled becomes usable again. Mint one from the coupon’s record; this page reads the batch and opens its Codes panel to see every code with its redemption status.
Operations
| Operation | Kind | What it does |
|---|---|---|
| couponBatch | query | Look up one batch of unique coupon codes. |
| couponBatches | query | Your organization group’s coupon-code batches, newest first. |
| doomCouponBatch | mutation | Permanently void a batch — its unused codes stop working; already-redeemed history stays. |