Can defective dented products from amazon be exchaged for a new perfect product?

Can i exchange an-(opened box) defective home appliance for a new one? How do exchanges work? Does the company send a replacement at the same time that they pick up the defect? Anyone have experience with all this?