Affiliates API
Affiliates
Affiliate Object
attributes id string a unique identifier for the affiliate partner object string the value is always affiliate email string the email of the affiliate name string the name of the affiliate surname string the surname of the affiliate affiliate program id string the id of the affiliate program associated with the affiliate affiliate program label string the label of the affiliate program country string ( appendix docid\ kfbmx4q3dxjtduqf75yx1 ) a two letter country code (iso 3166) representing the affiliate's billing country city string the billing city of the affiliate address string the billing address of the affiliate postcode string the billing postcode of the affiliate vat string the vat number of the affiliate language string the language of the affiliate telephone string the telephone of the affiliate currency string appendix docid\ kfbmx4q3dxjtduqf75yx1 the currency of the affiliate program referrals integer the total customers referred by the affiliate sales integer the total sales referred by the affiliate balance integer the total unpaid commission (including bonus) bonus integer the total unpaid bonus approved boolean this attributes shows if the affiliate is approved and can make referrals payments array of strings the payment gateways available for payouts { "object" "affiliate", "email" "tests\@affiliate com", "name" "affiliate doe", "surname" null, "address" null, "city" null, "state" null, "country" "us", "postcode" null, "vat" null, "telephone" null, "id" "c1797b4a 2694 4b90 a832 76856c1f3eef", "affiliate program id" "040afdd0 3081 4712 b827 896b3b7cbfa7", "affiliate program label" "20% lifetime commission", "currency" "eur", "sales" 0, "referrals" 0, "language" "en", "balance" 0, "bonus" 0, "approved" true, "payments" null }