Create a discount code, choose how many times a customer can use, and what it can be used toward.
Click Marketing > Discount codes > Create
Name it, choose a discount type and usage limit
Choose whether it can be applied to ongoing subscription renewal charges
Set an expiration date
Choose what it can be applied to