Is there any law that governs the sale of goods between parties located in different countries?

Yes. The United Nations Convention on Contracts for the International Sale of Goods governs the formation of international sales contracts between parties whose places of business are in different contracting countries (unless the parties specifically “opt out” of the Convention in the contract) and delineates the rights and obligations of the buyer and the seller arising from those contracts.