How to sell digital goods (redeem codes) using Drupal? I'm considering Drupal as a platform for a web project I'm working on. 
I'm looking for a way to sell redeem codes using UberCart, Drupal Commerce or some other module.

The client will be able to buy a single code or several codes and receive it/them by email.

Redeem code format : 201504[variable_value],  eg : 201504846, 201504965, 201504347...

Any ideas on how to manage this? Will every code be considered as a product (unique SKU)?

I need to be able to import the codes into the Drupal store. How will I be able to achieve this? I buy the codes in bulk and get them in an Excel spreadsheet.
There's a UC solution called UC Product Keys out there for this particular use case, but you're better off avoiding it; the project has no 7.x version and is minimally maintained. 

The Drupal Commerce equivalent is Commerce Product Key...


  This module lets sites implementing the Commerce module, attach
  product keys to orders. Product keys / Vouchers are strings of text
  that are used to unlock or activate a piece of software.
  
  Right now we have an entity that can be attached to a product and then
  assigned via a rule to a product once it has been bought. The required
  actions and rules events are fleshed out and simply require the wiring
  up of the rules to meet you scenario.


It probably won't do everything you need (e.g. import license keys), but it should be a good starting point to build your own product key solution off of.