Bacardi has lined up JD.com as its online retail partner in China.