Under the deal, JD.com will issue about 145 million new class A shares to Wal-Mart, worth about $1.5 billion at JD.com's current valuation.
Shares of Wal-Mart rose 26 cents, or 0.4 percent, to $71.21 in afternoon New York Stock Exchange trading. JD.com's ADRs were up nearly 8 percent, or $1.56, at $21.58
Wal-Mart took a stake in Yihaodian, which has focussed on online grocery sales and caters to affluent female customers, in 2011 before taking full ownership last July.
That deal combined Yihaodian's local expertise with Wal-Mart's global sourcing and supply chain capabilities, but growth was hindered when Wal-Mart narrowed the number of sellers on the site, according to a note from Barclays issued on Monday.
In the latest agreement, JD.com, China's second-largest online retailer, will control the Yihaodian brand and website, while Walmart will continue to operate the Yihaodian direct sales business and will sell on the Yihaodian marketplace.
The deal will give Walmart access to JD.com's online traffic and expand its reach into the Chinese market. Sam's Club China will open a flagship store on JD.com and utilise its delivery network, the companies said. Walmart's China stores will be listed as a preferred retailer on JD.com's crowd-sourced platform, O2O JV Dada.
Brian Yarbrough, an analyst with Edward Jones, said the deal with JD.com was a more cost-effective way for Wal-Mart to get its products and name in the marketplace by partnering with a large, experienced player.
"It doesn't mean that they've pulled away, but to me it tells me they are trying to make smarter investments," said Yarbrough.
Walmart's financial adviser on the deal was Morgan Stanley & Co. LLC and its legal advisor was Morrison & Foerster LLP. JD.com's legal advisors were Orrick Herrington Sutcliffe LLP and Han Kun Law Offices.
© Thomson Reuters 2016
For the latest tech news and reviews, follow Gadgets 360 on X, Facebook, WhatsApp, Threads and Google News. For the latest videos on gadgets and tech, subscribe to our YouTube channel. If you want to know everything about top influencers, follow our in-house Who'sThat360 on Instagram and YouTube.