getAffiliateCommission
Syntax
getAffiliateCommission( affiliate_id, product_ids=all )
Returns the affiliate commission of an affiliate.
Access rights
Read access required.
Arguments
affiliate_id – the ID, name or email of an affiliate product_ids – comma-separated list of product IDs, for which the commission should be changed or “all” for all products
Return data
List of affiliate commissions for the specified affiliate et al. with these fields:
- commission_rate – percentage of affiliate commission
- commission_fix – commission amount (in the currency e.g. EUR)
- commission_currency – currency of the commission amount (if specified)
- approval_status – new, approved, rejected, pending
See also
Was this helpful?