Create a batch
- Open Coupon Batches in the main menu and select Create Coupon Batch.
- Enter a Name for the batch, for example “Spring newsletter”.
- Choose where the codes come from, then fill in the settings for that choice (see below).
- Review the eligibility, combinations, and limits.
- Choose whether to be notified when processing finishes. Notify me when processing is done is on by default, and we email you.
- Select Create batch.
Choose where the codes come from
- Generate codes
- Manual
Atom Commerce creates unique codes from your settings.
A longer random part and a larger character set allow more codes. A batch can
use up to 95% of the possible combinations, so the number you can create is a
little lower than the raw total. If you ask for more than the settings allow,
the form shows the limit, and you can lengthen the codes or widen the
character set.
Shopify limits a discount code to 255 bytes. The form checks the total
length of the prefix, random part, and suffix, and shows an error if it is
too long.
What happens after you save
A dialog confirms the batch settings are saved, then shows the batch as Preparing Codes with a percentage and a count (“400 of 1,000 added”). Atom Commerce is creating each code as a discount code in your Shopify store, so customers can use it at checkout.- Large batches can take several minutes.
- You can close the dialog. Preparing continues, and you can follow it on the batch page and in the batch list. If you left notifications on, we email you when it is done.
- When it finishes, the batch is Ready.
After you create a batch
- The code settings (prefix, suffix, length, character set, and so on) are fixed once the batch exists. To get codes with different settings, add codes with new settings or create another batch. See Adding codes.
- You can still rename the batch and change its eligibility, combinations, and limits.
- Next, use the batch in an offer.

