How safe is Affiliate Marketing?

Hey guys, I am thinking of getting into AM but I am wondering what happens when someone purchases a product from a link within your site and returns a product or has warranty or other issues, is there any liability for you in any way please?