If you want any chance of getting the iPhone X you need to call 611 at 3am on the 27th. You can do JOD preorders over the phone. They ship it to your house. You have to return your old phone within 2 weeks to a T-Mobile store. I doubt there will be any availability in store. And you can't buy from Apple.
Manage your T-Mobile account