1. Black Friday Single-Use Discount Batch
E-commerce Operations ManagerBackground
A retail brand wants to distribute 200 single-use discount codes via an email blast for an upcoming holiday sale.
Problem
Manual code creation in the Stripe dashboard is slow, and third-party tools require full API write access to the store's Stripe account.
How to use
Set the campaign name to 'black-friday-2026', choose 200 codes with prefix 'BF26-', configure a 20% discount with a max redemption of 1 per code, and download the script package.
{
"campaignName": "black-friday-2026",
"count": 200,
"prefix": "BF26-",
"bodyLength": 8,
"charset": "upper-digits",
"excludeAmbiguous": true,
"discountType": "percent",
"percentOff": 20,
"duration": "once",
"maxRedemptions": 1
}Outcome
Receives 200 candidate codes and an idempotent Node.js script to create the coupon and promotion codes securely from the command line.