View
 

Affiliates API Methods


affiliates/search

Search for a certain affiliate.

 

  GET /affiliates/search.xml 

 

// Code
affiliates_search($search, $page=1, $perpage=6
 
Parameters:
  • search. Required. The search query.
  • page. Optional. The desired page.
  • perpage. Optional. How many items per page. 

affiliates/listformerchant

Merchants only: Show approved affiliates from campaigns.

 

  GET /affiliates/listformerchant.xml 

 

// Code
affiliates_listformerchant($campaign_id=null)
 
Parameters:
  • campaign_id. Optional. Limit to campaign with ID.