The Amazon of China invested $400 million into one of the most valuable fashion startups

  • JD.com, Alibaba's largest rival in the Chinese e-commerce market, has invested nearly $400 million into Farfetch.
  • Farfetch's new valuation is a significant step up from its earlier $1.5 billion figure.
  • Walmart owns around 11 percent of JD.com.
Billionaire Richard Liu, founder and chief executive officer of JD.com.
Billy H.C. Kwok | Bloomberg | Getty Images
Billionaire Richard Liu, founder and chief executive officer of JD.com.

JD.com, Alibaba's largest rival in the Chinese e-commerce market, has invested nearly $400 million into Farfetch, a fast-growing online marketplace for luxury fashion boutiques.

Alongside the $397 million investment, JD.com founder and CEO Richard Liu is joining Farfetch's board. Exact terms of the deal could not be learned, but a source said Farfetch's new valuation is a significant step up from its earlier $1.5 billion figure.

For Western apparel and fashion brands, the rise of the Chinese luxury shopper has made China an increasingly crucial market. London-based Farfetch already has operations in the country, but the deal is meant to expand them. JD.com will drive web traffic to the Farfetch site and offer logistics help to its brands and boutiques, among other services.

More From Recode:
More manufacturing jobs came back to the US than left last year
Read Mark Zuckerberg's full commencement address at Harvard
Mark Zuckerberg called on Harvard's graduates to help save the environment and cure all disease

The move comes as both JD.com, with a market cap of $57 billion, and Alibaba are making a big push to court Western fashion brands to their own sites. Some of Farfetch's merchants already sell on JD.com and the two sides will continue to compete in many ways, the companies said.

JD's model is similar to Amazon's as it serves as both the country's largest retailer that sells directly to consumers as well as a marketplace on which other merchants can hawk their wares. All of Alibaba's websites, on the other hand, operate exclusively as marketplaces. Both companies dominate the e-commerce landscape in China, where Amazon has long struggled.

Walmart owns around 11 percent of JD.com.

JD.com also owns a small stake in Wish, the San Francisco e-commerce company that makes one of the world's most popular shopping apps.

By Jason Del Rey, Recode.net.

CNBC's parent NBCUniversal is an investor in Recode's parent Vox, and the companies have a content-sharing arrangement.