Yes, we can transfer a license to a new site. Since you bought a new one, I assume this X license is not associated or locked to any domain or site, right now. Is that correct? If your answer is yes, then go to your license page, add you ecommerce dot.com site URL opposite this purchase license. For example, you can see something like this:
Hope this helps.