The legal basis is the Contract Law of People's Republic of China (PRC).
Article 9 When concluding a contract, the parties shall have corresponding capacity for civil rights and capacity for civil conduct.
The parties may entrust an agent to conclude a contract according to law.