The deal is JD.com’s first in Thailand, and second in Southeast Asia more widely. It set up shop in Indonesia in 2015 and has shown an interest in two of the country’s most prominent startups. It was involved in talks around a possible deal with Tokopedia — which didn’t materialize — but it has closed a deal to invest in Go-Jek, according to sources with knowledge of negotiations.