The shop is meant to have specific places for everything, such as indentations or slots for items to fit in. Unless you're willing to drop things in the floor, the easiest place to return an item is where you found it.
As noted on Ars Technica, this system only works for very uniformly shaped and colored items. Couldn't work for clothing, for example.