Every merchant link has the same shape:
Set up your links
1
Copy your referral code
In the Fluz web portal, go to the homepage and open Maximize. Select Invite a friend.
Under Share your referral code, select Copy.
Your personal account and each business account have their own code. Copy the code from the account you want credited.
Under Share your referral code, select Copy.
Your personal account and each business account have their own code. Copy the code from the account you want credited.2
Pull the merchant feed
Run The query returns up to 20 merchants at a time. To get the whole catalog, increase
getMerchants with an access token that has the LIST_OFFERS scope. Each merchant in the response has a slug, which is the part of the link that names the merchant.offset by your limit and repeat until the response is an empty array. To add cashback rates to your listings, request offerRates on each offer; see Get gift card offers.Don’t have API credentials yet? Create an application at fluz.app/for-developers, then follow API credentials to get an access token.3
Build a link for each merchant
Put the merchant’s For example, a merchant with the slug
slug and your referral code into the link:walmart and the referral code YOURCODE:4
Test a link before you publish
Open one of your links in a private browser window and check that it lands on the merchant’s Fluz page. Check that the code in the link matches your code exactly, including uppercase and lowercase letters. A wrong code shows no error; the account is created without a referrer.
Let the API build the link
Instead of building links yourself, you can rungetReferralUrl. It returns a ready-to-use link with the referral code of the account your access token belongs to.
The query takes an optional MerchantInput. If you pass more than one field, the order of precedence is id, then slug, then name.
Link formats
There are two ways to attach your referral code to a fluz.app link. Both credit the signup the same way.Query parameter rules
- The parameter name is
referred_by. The namesreferredByandpartnershipare also accepted. Other names, such asref,referralorreferralCode, are ignored. referred_byworks on any fluz.app page, not only the home page or merchant pages.- If the URL already has a query string, such as your own tracking parameters, add the parameter with
&instead of?:
How referral credit works
- New accounts only. Credit is given when the person creates a new Fluz account. An existing account can’t be credited, and a referrer can’t be added after signup.
- Sign up in the same browser. Your code is saved when the person opens your link and is applied when they sign up. If they come back later in another browser, or without your code in the link, the signup may not be credited.
- Exact match. The code must match exactly, including uppercase and lowercase letters, with no spaces before or after it. A code that doesn’t match is ignored, and the account is created without a referrer. No error is shown.
- One code per account. Your personal account and each business account have their own referral code. The signup is credited to the account the code belongs to.
Keep your feed current
- The catalog updates twice daily, and cashback rates change often. Refresh your feed at least once a day so your listings show current merchants and rates. Pulling the full, unfiltered catalog more often than that is slow; use the
namefilter for single-merchant lookups. - Slugs don’t change when rates change, so links you’ve already published keep working.
- Stock on some offers changes during the day. See Inventory on stocked offers.