You are here:
System-Generated Coupon Codes
To auto-generate many unique, one-time-use codes, use system-generated coupon codes. These codes are useful for large-scale promotions, like an email blast, and you can customize These codes are useful for large-scale promotions, like an email blast, and you can customize them for a personalized shopping experience. for the coupon campaign or pool.
After the total number of coupon codes across all sites exceeds one million, replication of codes from staging to production slows significantly. System-generated coupon codes don't increase replication time with increased coupon codes. Coupons with over ten thousand codes perform better with system-generated codes.
Configure new coupon codes in Business Manager. Existing coupon codes don’t change after you originally generate them. If you generate more codes for an existing coupon code group, the system adds the codes to the group. So, if the group has one million codes and you generate 100 thousand more, the group has a total of 1.1 million total codes.
Guidelines for Increasing System-Generated Codes
System-generated codes can result in billions of unique combinations. When the system initially creates these codes, each coupon ID has a fixed limit. Increasing the code length or changing the prefix of an existing coupon ID doesn't reset this limit or provide a new pool of codes. To increase the number of system-generated coupon codes, review these guidelines.
- (Recommended) Specify a new coupon ID, and assign it to your existing campaign or promotion. A new internal counter starts, along with a new pool of codes.
- Increase the number of coupon codes by using an existing coupon ID.
- Don’t change the coupon prefix or add more numbers to the code. These actions invalidate any existing coupon codes.
- Configure System-Generated Coupon Codes for B2C Commerce
To auto-generate codes, first set the coupon code preferences, then configure the code settings. After you generate the codes, specify the coupons redemption conditions.

