How reward codes are created and used
Every time a customer redeems a reward, Sol: Loyalty creates a real discount code in your Shopify admin. This article explains what happens at each point: redeeming, receiving the code, using it, and what you see afterwards.
What happens when a customer redeems
- The points are taken off the customer's balance immediately.
- A discount code is created in your Shopify admin, titled with the reward name.
- The code is single-use and locked to that one customer. It starts right away and ends on its expiry date, or never.
- Your minimum purchase and combination settings are copied onto the code.
- The customer sees the code on screen. If the "reward redeemed" email is on, they also get it by email.
The code is a normal Shopify discount. You can see it under Discounts in your Shopify admin.
[!SUCCESS] If Shopify refuses to create the code, the points are given back automatically. The customer sees "We could not create your reward. Your points were not spent." and the refund appears in their activity.
What a code looks like
A code is the prefix, a dash, then 8 random letters and numbers, for example SOL-3F9A1C2B. The default prefix is SOL. You can change it in Settings → General (Default code prefix), or give a single reward its own prefix. See How to set code expiry, minimum purchase and combinations.
What the customer sees
After clicking Redeem now in the widget, the Your code is ready screen shows:
- The reward name.
- The code with a Copy button (it changes to Copied).
- The line Enter the code at checkout.
- "One-time code, only for your account. Expires Dec 17, 2026." (without a date when the code never expires).
- A See all your rewards link.

Later, the customer can open Your rewards. It has two tabs:
- Available: codes not used and not expired, each with the code, "expires [date]" and a Copy button.
- Used and expired: codes with a Used label (for example "used on order #1042") or an Expired label.
The widget shows up to the latest 50 codes.
[!INFO] Codes are not applied to the cart automatically. There is no "apply to cart" button. The customer copies the code and types it at checkout.
Rules every code follows
| Rule | Meaning |
|---|---|
| Single use | The code works for one order only |
| One customer | Another account can't use it |
| One-time purchases | It doesn't apply to subscriptions |
| Store currency | Amounts you set are in your store currency |
| Expiry | Counted from the moment of redemption |
After the code is used
When an order is paid with the code, the code is marked used and the order number is stored. The customer's page in Customers shows the code as Used with that order, in the Reward codes table.
If the order is cancelled or fully refunded, it no longer counts in your rewards numbers. A partial refund leaves it counted. To see how often each reward is used, open Analytics → Rewards performance. It shows Times used, Discount given and Sales for the period.
Good to know
- Editing or deleting a reward doesn't change codes already issued. See How to edit, disable or delete a reward.
- If a customer loses a code, signed-in customers can open Your rewards in the widget. You can also see the full code in the Reward codes table on their customer page.
- Referral rewards use the same codes but are set up on their own page.
- Your rewards and codes are kept if you uninstall and reinstall.