Getting Started with Friendbuy
Getting Started with Referral
Plan Your Referral Program Implementation Team
How to Join Your Team on Friendbuy
Best Practices
Referral Program Placements
Friendbuy Referral Emails
Driving Referral Program Awareness
Referral Offer Strategies
Limited-Time Offer Promotions in Referral
Referral Contests, Sweepstakes and Giveaways
A/B Testing Best Practices
Account Management
How can I invite my team to the Friendbuy platform?
Managing Your Account Settings
How to Set Up and Change Your Email Sender
Referral Campaign Management
Widgets
How to Create a New Theme
How to Make Changes to a Theme
How to Apply Theme Changes to a Widget
How to update a Widget or Theme to the latest version
How to Set Up a Ribbon
How to Set Up an Advocate Landing Page
How to Set Up a Friend Landing Page
How to Set Up a Post-Purchase Overlay
How to Set Up an Account Page Widget
How to configure your Terms & Conditions
How to Test a Widget
How to Set up a Self-Referral Overlay
How to Set Up a Customer Dashboard
How to Personalize Your Widgets with the Advocate name
Campaign Settings
How to Create a New Referral Campaign
How to set up Referral Code Personalization for PURLs
Setting Up an Advocate Reward
Setting Up a Friend Incentive
Shopify Coupon Codes Integration
How to Run an A/B Test
How to Change Your Referral Offer
Setting Up Max Clicks for Referral Links
How to Generate Personalized URLs (PURLs) through Our API
How to Generate Personalized URLs (PURLs) for Advocates
How to Configure Tiered Rewards
How to Archive a Referral Campaign
How to Duplicate Your Campaign
How to Set Up a Redirect for Limited Time Campaigns
How to set up Code Based Sharing
Code Banks
How to Create a New Code Bank
How to Generate Coupons in Bulk for Shopify
Setting Up Low Code Bank Notifications
How to Add Codes to an Existing Code Bank
Emails
Loyalty Program Management
Uploading Data From a Legacy Loyalty Program
How to Set Up Purchase Based Member Tiers Program
How to Set Up a Points-Based Member Tier Program
How to Set Up Points Redemption Options
How to Set Up Shopify Coupon Code Integration in a Loyalty Earning Event
How to Set Up a Loyalty Opt-in CTA
Understanding the Loyalty Analytics
Rolling Points Expiration Reminder Emails
Receipt Scanning for Loyalty
How to Display Loyalty Points on a Product Detail Page (PDP)
How to Create an Earning Event
How to Configure an Earning Event in your Loyalty Program
How to set up expiration for Points or Account Credit
How to Create, Edit, and Manage Loyalty Emails
Integrations
Recharge Integration
Ethyca Integration
Klaviyo Integration
How to send Referral Links Post Product Review (Yotpo + Klaviyo)
How to Prompt a Referral After a Positive Review with Friendbuy and Trustpilot (via Klaviyo)
How to send one time emails with referral links through Klaviyo
How to Send Referral Links Post Positive Product Review (Okendo + Klaviyo)
How to Send Referral Links Post Purchase through Klaviyo
How to Promote Your Referral Program via SMS (Through Klaviyo)
How to Enable the Klaviyo Integration
How to Distribute a Reward To Your Loyalty Members on Their Birthday (Through Klaviyo)
How to Send a Customer their Loyalty Points Balance Through Klaviyo
How to Email Coupon Codes Through Klaviyo to Advocates and Friends After They Are Distributed by Friendbuy
How to Reward Customers for Providing a Review Through Yotpo via Klaviyo Through Your Loyalty Program
How to Send Reminder Texts to Redeem Loyalty Rewards Through Klaviyo
Upgrading to Klaviyo OAuth with your Friendbuy Integration
How to Reward Customers for Providing a Review Through Okendo via Klaviyo Through Your Loyalty Program
How to Trigger a Text to Remind Advocates to Redeem Referral Rewards (Through Klaviyo)
How to Trigger a Text to Remind Referred Friends to Redeem their Incentives (Through Klaviyo)
How to Send Coupon Codes through Klaviyo SMS to Advocates and Friends After They are Distributed by Friendbuy
How to Reward Customers For Subscribing to Klaviyo Emails and Texts Through Your Loyalty Program
How to Segment Customers Based on Tier Status in Klaviyo
How to Reward Customers for Providing a Review Through Stamped via Klaviyo Through Your Loyalty Program
Braze Integration
DataGrail Integration
Tango Card Integration
Cordial Integration
Segment Integration
How to Integrate Friendbuy as a Segment Source
How to set up the Segment Web-Mode (Destination Actions) Integration
Shopify Integration
How to Enable the Shopify Integration
Shopify Checkout Extensibility
Checkout Extensibility - Shopify Pixel Tracking
Shopify Theme App Embed
How Friendbuy Powers Loyalty Point Refunds with Shopify
How to Integrate Friendbuy with Shopify POS for Loyalty and Referral
Ordergroove Integration
Kustomer integration
Tremendous Integration
Iterable Integration
Trigger a Direct Mail Campaign to Drive Referral Program Awareness (Friendbuy x Iterable x Poplar)
How to Enable the Iterable Integration
How to Automatically Text Referred Friends their Coupon Code with Iterable Journeys
How to Prompt a Referral After a Positive Review with Friendbuy and Trustpilot (via Iterable)
Increase Referral Program Awareness with a Dedicated Email Blast through Iterable Journeys
Attentive Integration
Send a Triggered Text to Prompt a Referral After a Positive Review with Attentive and Okendo
Automatically Prompt a Referral Post Purchase in Attentive
Send Referral Program Text Messages Through Attentive
How to Text Coupon Codes to Advocates using Attentive Journeys
Make it Easy for Advocates to Refer by Sending Their PURL Through SMS using Attentive Journeys
How to Send Advocates a Reminder Text to Redeem Their Coupon Codes through Attentive Journeys
How to Send Referred Friends a Reminder Text to Redeem Their Coupon Codes through Attentive Journeys
How to reward Loyalty Members for signing up for Attentive text messages and emails
How to Include a Customer's Loyalty Points Balance in an Attentive Text
How to Send a Coupon Code to a Referred Friend using Attentive Journeys
How To Enable the Attentive Integration
Salesforce Commerce Cloud
Fivetran Integration
How to Integrate Your Friendbuy Loyalty and Referral Program with Rise.ai to Issue Stackable Gift Cards and Account Credit
Friendbuy + Stripe Integration (Referral Program)
Fraud Prevention
How to Block a Referral Code
How to Block an Email Address
Fraud Settings and Business Rules
Configuring a Global Reward Allowance
Configuring a Referral Link Fallback URL
How the Similar Email Address Fraud Check Works
Customer Service Portal
How do I check the status of a referral?
How to Manually Add or Remove Credit / Points to a Customer's Account
Why was my customers reward rejected?
The Referred Friend put in their email address but didn’t get their coupon code. How do I find this?
Resend Reward Email
Override a Rejected or Pending reward
How to Search for a Customer Profile
How to create a Manual Referral
Why didn't the Advocate receive a Reward for a successful referral?
Reasons for Rejected Advocate Rewards and Friend Incentives
Analytics & Reports
Performance Overview
Reports
Mark purchases as "Test" to maintain clean reporting
Top Advocates Report
Account Credit or Points Statement Export
Exporting Reports from Friendbuy
Email & SMS Report
Advocate Rewards Report
Purchases Report
Friend Incentives Report
Understanding the Codes Report
Dashboards
Loyalty Email Analytics
Common FAQs
What does Fraud Protection do?
How to Access my Billing Information
What is a typical referral flow?
How to Apply Theme Changes to a Widget
Difficulty downloading reports after you receive an export email?
What are Fraud Checks, Tier Checks, and Rules Checks in the Rewards Report?
How do I change my password?
What is a self-referral redirect URL?
What do the Reward Statuses and Definitions mean?
How to Create a New Theme
What is a Friend Widget?
How are Conversions Tracked in Friendbuy?
A Glossary of Terms
How long is the Referred Friend attribution window
What are some common scenarios, and how do I troubleshoot them?
Developer Documents
- All Categories
- Referral Campaign Management
- Campaign Settings
- Shopify Coupon Codes Integration
Shopify Coupon Codes Integration
Updated
by Samantha Brown
Overview
Friendbuy’s Shopify Coupons Integration supports a wide range of advanced discount configuration options that give merchants greater flexibility and control over how rewards and incentives are issued and redeemed. These enhancements allow Shopify coupon rules to be tailored based on discount type, subscription duration, product eligibility, customer segments, shipping rules, and more.
This expanded functionality is available when configuring any of the following reward types in Friendbuy:
- Advocate Reward (within Referral Campaigns)
- Friend Incentive (within Referral Campaigns)
- Loyalty Earning Events
- Loyalty Redemption Events
Setting Up an Advocate Reward or Friend Incentive to use the Shopify Coupons Integration
The Shopify integration is required to use this feature. To set up or check if it is installed, go to Developer Center > Integrations > Shopify to confirm a blue checkmark is visible on the card

Setting Up an Advocate Reward or Friend Incentive to Use Shopify Coupons
Step 1: Configure the Reward or Incentive Type
For Advocates: Go to the desired Referral campaign > Edit > Advocate Reward tab > Reward Settings. Select Shopify Coupons from the dropdown menu under How will you reward your Advocates?
For Friends: Go to the desired Referral campaign > Edit > Friend Incentive tab > Incentive Settings. Select Shopify Coupons from the dropdown menu under: How will you incentivize referred Friends?

Step 2: Customize Shopify Coupon Rules

Within the Shopify Coupon Rules modal, customize your rules for how customers can redeem the coupon codes at your Shopify store.
Click Modify Rules in the Shopify Coupon Rules modal to configure the following settings.
Basic Configuration
- Code Prefix (Recommended):
Add an alphanumeric prefix to track referral-generated codes (e.g., adv for Advocates, frnd for Friends). - Discount Type (Required):
Choose from:- Fixed Amount (e.g., $10 off)
- Percentage Discount (e.g., 10% off)
- Discount Amount (Required):
Enter the value of the discount. - Minimum Purchase Requirement (Optional):
Set a cart minimum (pre-discount) for coupon eligibility. - New Customers Only Requirement (Optional):
Restrict coupon redemption to customers with number_of_orders = 0.

Advanced Discount Configuration (NEW)
➤ Discount Details
1. Order Discounts: Applies to entire order (excluding tax).
• Type (Required):
• Fixed amount (e.g., $5)
• Percentage off (e.g., 10%)
• Applies To:
• Subscriptions & One-Time Products
• Discount Duration (for subscriptions):
• One Charge Only
• Next X Charges → Set the number of charges
• All Future Charges
2. Product Discounts: Applies to all or specific products.
• Eligible Products:
• Restrict to Specific Products: Search by SKU or Title
• Restrict to Specific Collections: Search Shopify collections by Title
• If left blank, applies to all products.
• Discount Duration (for subscriptions):
• Same options as Order Discounts
• Applies To:
• Subscriptions & One-Time Products
3. Free Shipping: Covers shipping cost
• Applies To:
• Subscriptions & One-Time Products
• Discount Duration (for subscriptions):
• One Charge Only
• Next X Charges
• All Future Charges
• Shipping Discount Restrictions:
• Applicable Countries: Select countries eligible for free shipping
• Max Shipping Rate: Exclude shipping rates above a set amount
➤ Discount Audience Restrictions
• Applicable Customer Segments:
• Leave blank to apply to all
• Search for segments in Shopify (e.g., Email Subscribers)
• Shopify Admin → Customers → Segments
Segment Example
➤ Minimum Requirements
• None: No restrictions
• Minimum Purchase Amount: Set a cart threshold before discount applies
➤ Discount Validity Window
• Start Date:
• Immediate (default)
• Or enable calendar option to specify start date/time
• End Date:
• None (default)
• Or choose from:
• Calendar Date
• X Days After Distribution
➤ Discount Combinations
All discount types can combine with:
• Shipping Discounts
• Order Discounts
• Product Discounts
Step 3: Save and Publish
Once all rules are configured:
• Double-check your entries
• Click Save Changes (if campaign is a draft) or Publish Changes (if campaign is live)
Step 4 (Optional): Modify Rules Post-Launch
To edit existing rules:
• Click Modify Rules next to the coupon code summary
• Changes apply only to newly generated coupon codes
• Existing codes remain unaffectedWhen configuring your coupon reward under Modify Rules, the following advanced options are available:
How to View These Codes in Shopify
When created through Friendbuy’s Shopify Coupon integration, codes:
- Appear in the same Discounts section
- Are often auto-generated with a prefix, such as:
- ADV-XXXXXX for Advocate Rewards
- FRND-XXXXXX for Friend Incentives
Admin Actions Available
Merchants can:
- Search for specific codes
- Filter by type, usage, customer eligibility
- View performance (redemption count, usage history