How to Exclude Discount Codes from Earning Rewards
Last updated April 29, 2026
If your Shopify store handles more than just retail customers — wholesale buyers, distributors, employees, friends-and-family, gift card redemptions — you probably don't want every paid order to earn Bitcoin rewards. Excluded discount codes let you tell Oshi which orders to skip.
When a customer checks out using one of your excluded codes, the order is still recorded in your dashboard but no rewards are issued. Your reward economics stay clean, and your loyalty analytics only count real retail customers.
Steps
Step 1: Navigate to Purchase Rewards
From your Oshi dashboard, click Loyalty Program in the left sidebar and select the Purchases tab at the top of the page.
Step 2: Open Advanced Options
Below the reward percentage slider, click Advanced Options to expand the additional configuration fields.
Step 3: Add Your Excluded Codes
Find the Excluded Discount Codes section. In the input box, type a discount code from your Shopify store and press Enter (or comma) to add it as a chip. Repeat for each code you want to exclude. To remove a code, click the trash icon on its chip.
You can also paste a list of codes separated by commas, spaces, or new lines — Oshi will split and add them as individual chips.
WHOLESALE50 and wholesale50 are treated as the same code, but partial matches like WHOLESALE won't match an order using WHOLESALE50. Add each full code you want excluded.Step 4: Confirm Each Code Exists in Shopify
As you add a code, Oshi checks your Shopify store to confirm the code actually exists. If a code isn't found in Shopify, the chip turns red and an inline alert appears below — that usually means the code was misspelled. You can still save unfound codes (no harm, since orders won't match them anyway), but it's worth correcting typos so your exclusion list does what you expect.
Step 5: Save Your Changes
Click Save Changes at the bottom of the page. Your exclusion list is now active. New orders that include any of these codes will skip reward issuance from this point forward.
What Happens to Excluded Orders
When an order comes in with an excluded code attached:
- The transaction is created with 0 sats — it still appears in your Reward Activity so you can see exactly which orders the rule fired on.
- The status shows as Ineligible instead of Claimed, Pending, or Recycled.
- Opening the transaction's More Details panel shows the Exclusion Reason and the Excluded Code that matched, so you can audit why no reward was issued.
This is by design — keeping a record of excluded orders means you can verify the rule is working without those orders polluting your rewards-issued numbers.
Common Use Cases
The exclusion list is intentionally flexible — anything you can attach a Shopify discount code to, you can exclude. Common reasons merchants use this:
- Wholesale and B2B codes like
WHOLESALE50,B2B_BULK, orDISTRIBUTOR. The most common reason — bulk orders to other businesses shouldn't trigger consumer loyalty rewards. - Gift card redemptions routed through a discount code, where the order is being settled with previously purchased credit.
- Employee, friends-and-family, or comp codes where the order isn't really a paying retail customer.
- Press and influencer comps where rewards aren't the point of the transaction.
- Promotional loss-leaders where you've decided rewards shouldn't stack on top of an already-aggressive discount.
A Note on Affiliate and Referral Codes
The exclusion list is for codes that should prevent a reward from being issued. It is the opposite of the affiliate discount codes you create for your affiliates — those codes are designed to drive rewards.
If you accidentally add an affiliate code to your exclusion list, customers who use it won't earn their offer. Double-check that any code you exclude is one you genuinely don't want to reward.
What's Next
- How to set up purchase rewards — Configure your base reward rate and other purchase reward settings.
- Understanding transaction statuses — Learn what each status (including Ineligible) means in your Reward Activity.
- How to filter and search transactions — Find your excluded transactions in the dashboard.
- How to manage affiliate discount codes — Manage the opposite kind of code — affiliate discount codes that drive rewards.
- Why aren't my customers receiving rewards? — Troubleshoot other reasons rewards may not be issued.
- How to connect Shopify — The integration this feature requires.
Related Articles
Was this article helpful?