Test this immediately. It is expensive to fix if broken.
Best Buy or Walmart occasionally have "Pre-Owned" or "Renewed" units in their clearance sections. What to Check Before Buying iphone x buy in store
These frequently have older iPhone models available for immediate pickup. Test this immediately
Ensure the previous owner has signed out completely. Pros and Cons of the X Today iphone x buy in store
The iPhone X was discontinued by Apple in 2018. Finding one in a physical retail store today requires looking beyond official Apple Stores. Where to Buy In-Store
Check Settings > Battery > Battery Health . Aim for 85% or higher.