Product Advertising API
Developer Guide (API Version 2011-08-01)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

Determining Parent Items

How do you determine if the item returned in a response is a parent item? If you use either the Variations or VariationSummary response groups in a request, the responses will include a VariationSummary tag if the item is a parent item.

Secondly, if you use one of the offer response groups, parent items do not have offers. So, the summary would be as follows.

<OfferSummary>
  <LowestNewPrice>
    <Amount>0</Amount>
    <CurrencyCode>USD</CurrencyCode>
    <FormattedPrice>$0.00</FormattedPrice>
  </LowestNewPrice>
  <TotalNew>0</TotalNew> <TotalUsed>0</TotalUsed> <TotalCollectible>0</TotalCollectible> <TotalRefurbished>0</TotalRefurbished>
</OfferSummary>