To get an elementβs variations, we need to pass the ASIN of its parent element. But, given the child, is it possible to get the parent ASIN through the Amazon product advertising API?
Unfortunately, after a long search, I can say that it is impossible to get the parent ASIN through the current version (2011-08-02) of the Amazon product advertising API.
I hope that Amazon will provide this functionality in the future.
VariiationMatrix ResponseGroup. Amazon, ASIN ParentASIN . , ItemSearch, ItemLookup. ItemLookup ParentASIN, Variations, , ASIN, , ..
If you have not found the answer yet, the following query helped me get the parent ASIN.
$baba_item = array( 'Operation' => 'ItemLookup', 'ItemId' => 'B003O6CB6S', 'ResponseGroup' => 'Variations' ); $baba_result = $amazon->queryAmazon($baba_item); $parentASINi= $baba_result->Items->Item->ParentASIN;