GetMerchant

From Wiki

Jump to: navigation, search

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
Example: array('sCountryCode','sLogoUrl')


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
        )

)

Privacy

Due to new European legislation regarding how websites store information about you, AWIN is updating its privacy policy. You can see the new version of our policy here. If you would like to see the information we capture on this website, please click here for further details. In order to accept cookies on this site please click the 'I ACCEPT' button