It's also effectively defrauding whomever provided the affiliate link. I'm not claiming that it's legal fraud, but it's a mild ethical lapse. They did their job of marketing the product effectively enough that the parent was motivated to buy, and then the parent cheated them out of their reward. It's petty.