From Wiki

Jump to: navigation, search

The 'getProduct' API request will return the requested products.




iProductId required

The ID of any products

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 Product_PSAPI data type to your API call to get more data.

Value Type: string/array
Example: array('sBrand','sDescription')



Objects for any returned products

Value Type: Product

Example Request (parameters)

$aParams5 = array('iProductId'	=> xxxxx, 'sColumnToReturn' => 'sDescription');

$oResponse = $oClient->call('getProduct', $aParams5);

Example Response

stdClass Object
    [oProduct] => stdClass Object
            [iId] => xxxxx
            [iCategoryId] => ...
            [iMerchantId] => ...
            [iAdult] => 0
            [sName] => ...
            [sDescription] => ...
            [sAwDeepLink] => ...
            [sAwThumbUrl] => ...
            [fPrice] => ...


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