Advanced system-generated unique promotion codes

Advanced system-generated unique promotion codes are created by specifying an advanced pattern of characters.

Important: Using this method to create promotion codes is considered complex compared to using Simple system-generated unique promotion codes. Use this creation method when your specific business requirements cannot be fulfilled with simple system-generated unique promotion codes. The following inputs are required to generate advanced system-generated unique promotion codes:

The maximum number of possible unique promotion codes to generate is calculated and displayed for reference, based on the pattern input.

Each unique promotion code is stored in its own database table row. If the number of unique promotion codes to generate or populate is large, for instance over 100,000 codes, the database must be optimized to handle the processing of this data. Your database must have the required database space allocated to store the generated codes.


Pattern syntax

Advanced system-generated unique promotion codes specified in brackets [] can take on the following values:


Sample output

Advanced system-generated unique promotion codes can contain any number of fixed characters, generated characters, and sequences. Where, for example, the unique promotion codes sample results:

Sample advanced system-generated unique promotion codes
Code generation pattern Sample unique promotion codes
IBM[XXX]EVENT IBM65BEVENT
IBMJK7EVENT
IBMXWTEVENT
SUMMER-[DDDAA]-SPECIAL SUMMER-123AB-SPECIAL
SUMMER-551LM-SPECIAL
SUMMER-319PG-SPECIAL
WINTER2010[XX]-SALE WINTER201055-SALE
WINTER2010H9-SALE
WINTER2010MC-SALE
IBM[DXSS] IBM5G00
IBM8P01
IBM2502
IBM[SSSS+100/20] IBM0100
IBM0120
IBM0140


Related concepts
Promotions


Related tasks
Importing promotion codes
Exporting promotion codes


Related reference
Simple system-generated unique promotion codes