Adding Discount Code to Lemon Squeezy Product Link

Home » Notes » Adding Discount Code to Lemon Squeezy Product Link

I recently needed to share a LemonSqueezy product link which already included the discount. You know, so it’s already applied to the checkout. The LemonSqueezy documentation is a bit scarce on this, but I figured out how to do it and wanted to share it with you all.

Time needed: 1 minute

Here’s how you bridge the two into one URL:

  1. Copy the Discount Code

    Find the appropriate Discount code inside your LemonSqueezy dashboard: https://app.lemonsqueezy.com/discounts into your favorite text editor. This is the discount code I am using: MINUS10PERCENT

  2. Copy the payment URL

    Find the link for the product to which the discount code is applicable, click the share link and copy this to your text editor as well. Mine looks like this:
    https://remkus.lemonsqueezy.com/checkout/buy/300d91e1-4fa2-46d7-8e54-f22bdcd7cd76

  3. Copy this Product URL suffix

    We need the following suffix to combine the two values in the above steps:
    ?checkout%5Bdiscount_code%5D=

  4. Combine them in the following sequence

    https://remkus.lemonsqueezy.com/checkout/buy/300d91e1-4fa2-46d7-8e54-f22bdcd7cd76?checkout%5Bdiscount_code%5D=MINUS10PERCENT

    This produces a link that you can share. When you click on that link, the discount code is automagically applied. Try it here.

Hope this helps your scenario, but let me know if you have any questions in the comments.

First name
This field is for validation purposes and should be left unchanged.

Automatically sent to your inbox, just like 🪄 

Leave a Reply

Your email address will not be published. Required fields are marked *