Create promo codes with limits.
Creating a promotional code
Create a discount code customers enter at checkout, with usage limits and eligibility rules.