Will I encounter a problem if I returned an online store order to a retail apple store? Will I have to send it back to the online store to get a refund?
If you are returning a product you bought at a third party retailer for a refund, you have to return it to them. If it was from Apple online, then the local Apple store should help you.
Warranty claims can be through the local Apple store...