Most textbook stores know that students may buy a textbook they wind up not needing: classes get cancelled or dropped, the wrong edition is ordered, and so on. You typically have a risk-free return period of anywhere from 14-21 days from the purchase date, so you'll need to time your purchase carefully (ordering enough in advance that the title is available, but not so far ahead that you can't return it once the class starts).