2,317 Shopify stores already joined the waitlist! Early access
perks live now.
A discount code is a unique string of characters (letters, numbers, or both) that shoppers apply during checkout to get a price reduction or special offer. Often used interchangeably with promo codes, coupon codes, or voucher codes, these are a staple of ecommerce promotions: they drive sales, reward returning customers, and promote limited-time deals.
The purpose is straightforward, to incentivize customers to complete a purchase. A code might offer a percentage off, a fixed amount off, free shipping, or a buy-one-get-one deal. Discount codes work for both one-time orders and recurring subscription products, which is why merchants use them to acquire new customers, lift average order value, and create urgency without permanently lowering the price tag.
Most ecommerce platforms also let merchants control how a code behaves, including expiry dates, usage caps, minimum order value, customer eligibility, and product or collection restrictions. Codes can be public (one shareable code anyone can use) or unique single-use codes generated per shopper, which limit abuse and tighten attribution to specific campaigns or partners.
A skincare brand promotes its subscription on Instagram with the code GLOW20 for 20% off the first box. A new customer enters the code at checkout, the discount applies instantly, and the order converts. After the campaign ends, the brand can filter orders by that code to see exactly how much revenue and how many subscribers it generated, and whether those subscribers stuck around past their second renewal.
Treat discount codes as a precision tool, not a default. Limit them by time window, usage cap, or customer segment to protect perceived value, and keep an eye on the impact on customer acquisition cost (CAC). Heavy or always-on discounting trains shoppers to wait for a code, inflates CAC, and erodes the unit economics of every subsequent order or renewal.