My experience with faulty goods with Amazon has always been excellent. It is one thing they excel at.I would imagine Amazon has some sort of way to do that.
On one occasion I ordered some 2 jars of date syrup off them and 8 boxes of booja booja chocolates (they were short dated and cheap). The lid came off the date syrup in transit and the result was a mess. I contacted them hoping just to get the date syrup replaced, but they replaced everything instead despite the fact the chocolates were inside an airtight sealed container once extracted from the cardboard sticky mess... the chocolates were fine.
Another time I had an issue with an electric blanket I'd ordered. They sent the wrong one, with only 1 controller, not 2. I contacted them to return it and they upgraded my order to a much better quality dual controller electric blanket that we are still using to this day, they also changed the size free of charge for me to suit a new mattress we'd ended up with which was quite handy!
But it only applies to stuff they have dispatched. Their marketplace stuff that the sender posts, rather than lodging with Amazon (which you can do) is dealt with via the seller, not Amazon unless it's an Amazon despatch...