Is there a way to offer a discount to some customers of your content?

If I were a developer and had content purchasable on the marketplace, is it possible to provide a discount code for potential customers to use to get, for example, a 10% discount off the purchase of my content?

I mean for specific customers only, so maybe only people who have signed up to my mailing list are able to have access to the discount code, otherwise it appears full price.