GetMerchant
From Wiki
The 'getMerchant' API request will return the requested advertisers which have ShopWindow qualified products and your publisher account joined to.
Parameters
Element |
Type |
iMerchantId optional |
The IDs of the advertisers to get
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)
$aParams8 = array('iMerchantId' => 3030); $oResponse = $oClient->call('getMerchant', $aParams8);
Example Response
stdClass Object ( [oMerchant] => stdClass Object ( [iId] => 3030 [sName] => Fashion World ) )