If you offer subscription products, then there are more options when creating percentage or free shipping discounts.
The Purchase type section appears on the Create discount code page. You can choose if a discount applies to subscription purchases, one-time purchases, or both.
Change a discount's purchase type
When you create a discount code you can choose to limit the use of your discount to specific purchase types. If you select Subscription in the Purchase type section of the Create discount code page, then you can choose to apply the discount to All subscription products, All subscription products in a specific collection, or Specific subscription products.
If you have an existing discount code that you want to update, then you can edit your discount code to include subscription-based rules.
From your Shopify admin, go to Discounts
Click the discount that you want to edit
In the Purchase type section, choose the purchase type that you would like to limit your discount code to:
If you select Subscription as the purchase type for your discount code, then you can choose which subscription products to apply your discount to. You can limit the use of your discount code to specific subscription products, or a specific collection.
If you choose to limit your discount to a specific subscription product, or collection, then search for your product or collection using Browse button that appears.
Note: Buy X Get Y discounts aren't supported by subscriptions.