What ticket is it? A point-to-point or Supersaver ticket?
Name changes are not possible, you must cancel the ticket and rebuy. Supersaver tickets are not cancellable, also not in the event of a double purchase. In this case, you have to buy a new ticket without a refund for the erroneous one.
For more information: Refund on tickets in Switzerland | SBB help & contact
In order to purchase tickets for another person, you must first register them as co-travelers. Each person must have their own ticket bearing their name.
For your own privacy and security, please refrain from mentioning order ID’s or ticket numbers on a publicly accessible forum such as the SBB Community…