At the airport you can back the VAT you paid on your purchases over 5000 THB. I dont think this is possible by train.
Many leading department stores like Central offer a 5% discount for tourists, you can get one of the coupons from one of the many free maps that are distributed at hotels.