A collection of alphanumeric characters known as a discount code or promotional code is something that online retailers do to get people to buy things from their store. Offering new goods or services at a discount is one of the earliest marketing strategies used to get consumers to try them out.