Foreigners in China are required to use passports as ID documents when purchasing travel tickets.
If you do not have a passport and want to buy a ticket using a UNHCR certificate, please consult the train station or airline company on whether they can accept your UNHCR certificate for booking tickets.