Hello Phaitheafa27
Yes, you can purchase tickets online, too.
Holding the FIP, you can purchase reduced point-to-point-tickets (single or single and return) only, no day passes.
The train from Zermatt to St. Moritz is named Glacier Express.
Kind regards;
Roland