Retrieves list of affiliates.
Query parameters
Retrieve only affiliates specified by a comma-separated list of affiliate IDs
Retrieve only affiliates specified by a comma-separated list of their referral codes
Retrieve only affiliates specified by a comma-separated list of their email addresses
Retrieve only affiliates specified by a comma-separated list of their coupon codes
Retrieve only affiliates specified by a comma-separated list of their approval status
Show affiliates after the specified affiliate ID
Show affiliates created at or before date (format: Sun Jul 26 2019 12:10:07 GMT+0530)
Show affiliates created at or after date (format: Sun Jul 26 2019 12:10:07 GMT+0530)
Show affiliates updated at or before date (format: Sun Jul 26 2019 12:10:07 GMT+0530)
Show affiliates updated at or after date (format: Sun Jul 26 2019 12:10:07 GMT+0530)
Comma separated list of fields to return. See Affiliate Schema to get list of available fields
Limit number of results
Offset of results
Response
Example response
{
"affiliates": [
{
"id": 1,
"name": "John Doe",
"avatar": {},
"first_name": "John",
"last_name": "Doe",
"email": "johndoe@example.com",
"ref_code": "hs692n62d",
"ref_codes": [
"referralcode"
],
"coupon": {
"code": "JOHN10OFF",
"discount_value": 10,
"discount_type": "percentage"
},
"coupons": [
{
"code": "JOHN10OFF",
"discount_value": 10,
"discount_type": "percentage"
}
],
"phone": "1 888 (999) 1234",
"address_1": "Address line 1",
"city": "City",
"state": "State",
"country": "US",
"zip_code": "121323232",
"tax_identification_number": "788-21-1122",
"comments": "Private comment",
"personal_message": "Message to the affiliate",
"payment_method": "paypal",
"payment_details": {
"paypal_email": "jdoe@paypal.com"
},
"commission": {
"type": "percentage",
"amount": 10,
"on": "product"
},
"group_id": 10
}
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.