The main difference between buying a mattress in-store and buying online is that people cannot try it online before purchasing it. However, companies that sell mattresses online usually offer a sleep trial. This means that people can sleep on the mattress for an agreed period and can refund or exchange the product during that time if it does not suit their requirements.