There is a fundamental difference between being a retailer and providing a retail platform.
All Costco would really have access to is how much they've bought and how that has performed for them. Meanwhile Amazon is providing a platform for companies with a policy that they will only use their data to help them, which is what is allegedly not happening.