Stores > Settings > Configuration > Customer > Promotions
Auto Generated Specific Coupon Codes
|Code Length||Global||Defines the length of the coupon code, excluding the prefix, suffix and separators.|
|Code Format||Global||Defines the coupon code format. Options include:
|Code Prefix||Global||A value that is appended to the beginning of all coupon codes. If you do not want to use a prefix, leave the field blank.|
|Code Suffix||Global||A value that is appended to the end of all codes. If you do not want to use a suffix, leave the field blank.|
|Dash Every X Characters||Global||An interval where a dash (-) can be inserted into all coupon codes. If you do not want to use a dash, leave the field blank.
Coupon codes that differ by only a dash are considered to be different codes.