GetMerchantList
From Wiki
The 'getMerchantList' API request will return the requested advertisers whose products are mapped to the provided ShopWindow category ID and your publisher account joined to.
Parameters
Element |
Type |
iCategoryId optional |
The ID of the selected category
Value Type: int |
iMaxResult optional |
Max number of results to return
Value Type: int |
iAdult optional |
Allow adult content
Value Type: int |
sColumnToReturn optional |
Columns to return with each product. By default only required columns are returned. Add as many columns as you require from the Merchant_PSAPI data type to your API call to get more data.
Value Type: string/array |
Response
oMerchant |
Objects for any returned merchant
Value Type: Merchant |
Example Request (parameters)
$aParams9 = array('iCategoryId' => 586, 'iMaxResult' => 3); $oResponse = $oClient->call('getMerchantList', $aParams9);
Example Response
stdClass Object ( [oMerchant] => Array ( [0] => stdClass Object ( [iId] => 1901 [sName] => DoSomethingDifferent.com ) [1] => stdClass Object ( [iId] => 610 [sName] => LondonTheatreDirect.com ) [2] => stdClass Object ( [iId] => 1936 [sName] => Theatre Tickets Direct ) ) )