Discount codes

In this article:

Create a discount code

After you've created a product, you can create discount codes to offer a discount to your customers.

Creating discount codes is easy—just go to the Discounts tab on the Checkout page

Click "New discount" to get started. We auto-generate a discount code for you, but you can replace it with your custom code.

Note: The code can contain only numbers and letters.

Choose the product(s) you want this discount code to apply to, or check “All products” if you want it to apply to all your products.

Enter the discount code and the amount or percentage off of your full price.

Allow customers to enter discount codes

To show the discount code input box on the checkout page, toggle  “Only if a discount is available” in the Checkout form tab, otherwise, it will only be possible to apply a discount code by using a  a URL parameter.

Discounts for memberships

If your discount code applies to a membership, you can choose if you want it to be valid for all recurring charges or just the first billing period. A code meant for just the first billing period can help you boost recurring sales without being stuck to the discounted price for the entire membership duration.

Discount code customization

You can customize a discount code by setting these parameters:

  1. Limit quantity

    Limit the total number of times this code can be used by setting a “Limit quantity”. By default, the code can be used an unlimited number of times. This limits the overall uses of the code, not the number of uses by a specific customer.

  2. Limit the validity period

    Schedule discount codes in advance by setting a validity period. This allows you to create discount codes ahead of time and also expire them without losing access to revenue or usage stats. This can be useful for time-limited offers or promotions.

  3. Set a minimum qualifying amount

    Set a minimum $ amount to allow a discount only when the customer's total spend for the discount’s product(s) exceeds this amount.

  4. Set a minimum quantity

    Incentivize your customers to purchase multiple quantities of a product by setting a minimum quantity. These codes will apply only if the customer is purchasing a quantity greater than or equal to the set minimum.

    Please note: The intended product(s) must have the “Allow customers to choose a quantity” setting toggled on for your customers to be able to utilize this code. You can do this from the product’s edit page.

Edit discount codes

Click any discount you want to edit, and a side panel will open. 

Under “Products”, click the share button to copy a product-specific link. This copies the URL to your Gumroad product with "/{yourdiscountcode}" attached.

Once you click on the discounted link, you will see that the original price is crossed out, and the discounted price is displayed next to it. This only displays if a discount code is applied from the product-specific link. Currently, this is the only way to show slashed prices.


Q: How do I embed a discount code in my product's URL? 

Attach it to the end of the URL! For example:{YourProductID} becomes{YourProductID}/{YourDiscountCode}

Q: Can I embed a discount code in my custom domain?

Yes! Similar to how it's done on the Gumroad domain, you'll have to add the coupon code at the end of the custom URL: https:// {YourCustomDomain}/{YourProductID}/{YourDiscountCode}

Q: Can discount codes be used on top of one another? 

Only one code can be used per product.

Q: Can my customer use Purchasing Power Parity in combination with a discount code?

Gumroad's system is designed to give the customer the best possible discount, so if the PPP discount is greater, it will be applied instead of the discount code.

If the customer still wishes to use the discount code instead of the PPP discount, you would need to disable PPP in your settings. However, this would affect all customers, not just the ones trying to use the offer code.

Q: Can a discount code be added to an affiliate link?

You can combine an affiliate link with a discount code:


The affiliate ID can be found in the affiliate link the number after the /a/.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us