If you want to embed a promo code in a link to a store, all you have to do is add the following to the end of the store URL:
A sample full URL would look like this:
* Please note that in order for this to work you have to setup the promo code for your store first. Not sure how to do that? Check out Creating promo codes for products in a store.