Coupon Codes
The coupon code functionality is made up of Coupon Groups and Coupon Codes.
Coupon Groups
Coupon Group are a logical grouping of codes. Codes are added to a coupon group and that group can be associated with one or more discounts.
Groups can have restrictions set on them that apply to all codes in the group. The main use case for this is setting start and end dates on the coupon group. This means all codes created in the group inherit these start and end dates (note. codes can also have their own start and end dates).
Groups can also have a template that determine the expectations for a code created in the group. Note, a code doesn't have to meet this requirements, but it can useful to use this (e.g. client-tooling ensures codes created in the group all meet the code template requirements).
Code Restrictions and Limits
Coupon codes can be totally unrestricted (i.e. used by anyone any number of times) or can be restricted.
Restrictions
The following restrictions are supported:
- User restriction - coupon codes can be setup to be tied to specific users (email) or can be available to anyone.
- Start/end dates - coupon codes can have these dates set to ensure they are only available for a limited time.
These restrictions can be added to a coupon group or individual codes. E.g. you could add a start and end date on the group and have a user restriction on each code.
Limits
Codes can be setup to have usage limits. Codes support a total usage limit as well as a usage limit per-user.
The usage limits can be used in combination. E.g. you could have a total usage limit of 10,000, but a limit per-email of 1.
Code Generation
Coupon codes can be created in 3 ways:
- Importing from a file
- Automatic code generation
- Manually
The automatic code generation has a number of options you can set:
- Number of codes to generate
- The number of characters in each code
- The characters allowed in each code
- Prefix
- Suffix
See Management Tooling - Coupon Codes for how to manage coupon codes using the tooling.