The Asian online fashion giant is investing in the company that operates the retailer, paving the way to sell its products.