Docs
Migrate from Lemon Squeezy
Move your Lemon Squeezy affiliate program to Affiligato before Lemon Squeezy shuts down: affiliates, their ?aff= links, referred customers and referral history.
Lemon Squeezy stopped taking new sign-ups on November 16, 2026 and stops processing payments, renewals included, on March 31, 2027. Its move to Stripe Managed Payments does not include affiliates, so your program needs a new home. The import reads your Lemon Squeezy account through its API, so run it while your account still answers.
What comes across
| From Lemon Squeezy | In Affiligato |
|---|---|
| Affiliates, with their name and email | Partners. Active ones are approved, pending ones wait for you, disabled ones are suspended. |
Each affiliate’s link, ?aff=1234 |
Kept as that partner’s code, so a link already shared keeps crediting them. |
| Customers an affiliate referred | Customers of that partner, known by their email and dated from when Lemon Squeezy first saw them. |
| Referral amounts on orders and subscription renewals | Commissions in the order’s currency, with the order’s subtotal as the sale. Paid and partly refunded orders arrive as paid; refunded, void, failed and fraudulent ones as reversed. |
A subscription’s first invoice is the same sale as its first order, so it is counted once.
What does not come across
- Payout details. Lemon Squeezy does not share them. Partners add a payout method in their portal.
- Your commission terms. Set them in Affiligato; they apply to every sale from the move on.
- Clicks and the review statuses of Lemon Squeezy’s Affiliate Hub (in review, rejected): its API does not expose them.
- Orders still pending payment. Run the import again once they are paid.
- Affiliates without an email address, which the summary lists as skipped.
- Test-mode data. A test-mode key reads only test sales.
Before you start
- Create your program in the currency you sell in.
- Install the tracking script on the site your affiliate links point to.
- Connect the payment platform your sales move to, such as Stripe or Paddle.
Move the program
Create a Lemon Squeezy API key
In Lemon Squeezy, switch Test mode off at the bottom left of the dashboard. Open Settings → API, create a key and copy it: Lemon Squeezy shows it only once.
Verify the key in Affiligato
Open Partners → Import → From another platform, choose Lemon Squeezy and paste the key into API key. Verify shows the stores it reaches. With more than one, choose the store whose affiliates you are moving; run the import again for each other store.
Start the import
Choose Start import. Partners come first, then customers, then commissions, each counted as new, updated or skipped. Closing the window does not stop it. When it is done, Skipped, and why names every row it left out and the reason.
Delete the key
Affiligato keeps the key encrypted while the import runs and deletes it when the run ends. Delete it in Lemon Squeezy too once you no longer need it.
Keep the links working
A partner’s old link keeps crediting them when it points at your own site, which has the Affiligato script: https://yoursite.com/?aff=1234. That is the case when you set your own domain as the Affiliate referral URL under Settings → Affiliates in Lemon Squeezy.
Links that point at your Lemon Squeezy store (your-store.lemonsqueezy.com/?aff=1234) or at its checkout (?aff_ref=) stop working when Lemon Squeezy shuts down. Partners who shared those need their new Affiligato link from the portal. Once your checkout has moved, remove Lemon Squeezy’s affiliate.js script from your site.
Paid history
Lemon Squeezy runs its own affiliate payouts, and its API does not say which referrals it has paid out. So every earned referral arrives as paid: partners see their history, and Affiligato never pays it again. If Lemon Squeezy still owes a partner when you leave and you choose to pay it through Affiligato, add it to them as a one-time commission from their profile.
Renewals after the move
A renewal your new payment platform bills to the same email credits the partner who referred that customer, at your Affiligato terms. A limited recurring period, such as 12 months, counts from the customer’s first referral payment imported from Lemon Squeezy, so the move does not restart it. A customer who pays under a different email is not matched.
Tell your partners
The import itself emails no one. Your automations still run: a partner who joined Lemon Squeezy after you made a welcome or no-clicks automation gets it, as a new partner would. Partners sign in to your partner portal with the email Lemon Squeezy had for them, by an emailed link or Google, and find their history there. Send them a campaign that says:
- the program has moved to Affiligato, and where the portal is;
- links on your own domain keep working, and links to the Lemon Squeezy store need replacing with their new link;
- they add a payout method in the portal to be paid from now on.
Run it again
The import can run as often as you need until Lemon Squeezy shuts down. Each run adds what is new since the last, such as orders that were pending, and creates nothing twice. Agents can run it with the import_program tool, source: "lemonsqueezy" and the key as credentials.api_key, then follow it with import_status.