Generate, import and export codes
Give a campaign its codes: generate up to millions, import codes you already have, export them with QR links to print or send, and delete ones you don't need.
For: AdminsCode states
| State | Means |
|---|---|
| Pending | Created, not given to anyone yet. Print it, hand it out, or give it to a customer later. |
| Allocated | Given to a customer (by email, phone or recipient ID), waiting to be redeemed. |
| Redeemed | Used. A code can be redeemed once. |
| Expired | Cancelled by hand, or unused when the campaign ended. Can't be redeemed. |
Codes in a campaign's menu counts each state. When a campaign ends, its unused codes become Expired; if you extend the end date, they become usable again.
Generate codes
- Save the campaign with the prefix and code length you want, then open Codes in its menu.
- Under Generate codes, enter how many (1 to 5,000,000) and click Generate.
New codes are Pending. Export them to print or hand out, or give them to customers later. If the prefix and length don't allow enough unique codes, you're told how many were added: increase the code length and generate the rest.
Import codes you already have
- Prepare a
.csvor.txtfile with one code per line. Only the first column is used. - Under Import existing codes, click the box to choose the file (or drag it onto the box) and check the preview. Tick First row is a header if the first line is a column name.
- Click Import.
Imported codes are Pending. Codes your company already has, in any campaign and in any letter case, are skipped, so running an import again is safe. Codes that are empty, longer than 64 characters or contain spaces are counted as invalid and skipped.
SUMMER10 and summer10 are the same code. The scanner finds a code in whichever campaign it belongs to.Export codes
- Under Export codes, choose All states or one state.
- Keep QR code links ticked to add a link to each code's QR image.
- Click Export CSV and stay on the page. The file downloads when it's ready.
The file has each code's status, customer, recipient ID, redemption time, wallet pass link and (if ticked) QR link. QR links keep working until a year after the campaign ends, and messaging apps such as WhatsApp can show them.
Delete codes
- Under Delete codes, choose a state, for example PENDING to remove codes nobody has received. REDEEMED and All states can be chosen once the campaign has ended: until then, redeemed codes are the record of what was used and who won its prize draws.
- Type the campaign name exactly as it is written.
- Click Delete … codes.
Plan limits
Every generated, imported or issued code counts towards your plan's vouchers per month. If a batch would go over, none of it is created. See Plans, billing and limits.