Coconut water can be heated, but not directly, as direct heating of coconut water spoils it and changes the taste. The general practice is to soak the coconut juice in hot water for some time, and when it becomes lukewarm you can drink it. Coconut juice sold in the market is bottled or filled, and should never be heated in a microwave oven to avoid an explosion.
Generally speaking, coconut juice shoulders the function of quenching summer heat and thirst, and drinking coconut juice in the hot summer is to cool down, so people usually refrigerate it and drink it.