How to Manage Affiliate Discount Codes
Last updated February 28, 2026
If you're a Shopify merchant, each affiliate can have their own discount code that's fully synced with your Shopify store. Customers can use the code at checkout to receive the affiliate's customer offer as a discount on their order.
How Discount Codes Work
Every affiliate and referral link already offers the customer either Bitcoin back or a discount. Discount codes give affiliates an additional way to share their offer — they can tell their audience "use code XYZ for 10% off" in addition to sharing their link.
When you create a discount code for an affiliate, Oshi creates a corresponding discount in Shopify and keeps them in sync. Changes you make in Oshi are reflected in Shopify automatically.
Creating a Discount Code
Go to Affiliate Program > Affiliates, click on an affiliate, and open the Customer Offer tab. In the discount code section:
- If the affiliate doesn't have a code yet, click Create Discount Code
- When an affiliate applies, they can request a preferred code name. You'll see their requested codes and can approve one or enter a different code
The code is created in Shopify immediately and the affiliate can start sharing it.
Code Change Requests
Affiliates can request a code name change from their portal. When they do, a Code Request badge appears on your Affiliates tab. Open the affiliate's details to see the current code and requested code, then approve or reject the change.
Discount Code Settings
Click the settings icon next to an affiliate's discount code to configure Shopify-specific options:
- Combinations — Allow the code to combine with product discounts, order discounts, or shipping discounts
- Usage limits — Set a maximum number of uses, and optionally limit to one use per customer
- Purchase types — Apply to one-time purchases, subscriptions, or both. For subscriptions, you can set a recurring cycle limit
- Expiration — Set the code to never expire or expire after a number of days
- Free shipping — Include free shipping with the discount
All changes sync to Shopify automatically.
Bulk Editing
Select multiple affiliates from the table to bulk-edit their discount code settings. This lets you update combinations, usage limits, purchase types, expiration, and free shipping across all selected affiliates at once. A confirmation dialog shows a summary of changes before applying.
What's Next
- Customize commissions and customer offers — Adjust per-affiliate payouts and customer reward amounts.
- Manage your affiliates — Review applications, approve or deny, and view affiliate details.
- Set up referral rewards — Configure the default referral program settings that affiliates inherit.
Related Articles
Was this article helpful?