They have a simple trick - they make the vendor eat any returns.
So vendors won't ship them shit, because they know they'll eat the returns.
I'm sure they do additional curation on top of that, but making them stand behind the product probably gets 80% of the way there.