fix bad parameter. affiliateId -> affiliate_id