In e-commerce and online shopping a coupon code, or promo code, is a computer-generated code, consisting of letters or numbers that consumers can enter into a promotional box on a site's shopping cart (or checkout page) to obtain a discount on their purchase.