The BrowseNodes response group returns the browse node names and IDs associated with the items returned in the response. The response group also returns the names and IDs of the child and parent browse nodes of the items returned in the response.
It is possible for one item to belong to multiple browse nodes. So, it is common to see multiple hierarchies of browse nodes for a single item.
Some products, such as parent ASINs, do not return information in the BrowsesNodes response group.
This response group is similar to the BrowseNodeInfo response group. The difference is that the BrowseNodes response group is used with operations that are based on item attributes, search indices, and lists. These operations typically return multiple items. BrowseNodeInfo can only be used with BrowseNodeLookup and the search is always keyed on a browse node ID.
Operations that can use this response group include:
The following table describes the elements returned by BrowseNodes. In the Ancestry column, the elements on the left side of a slash mark are the parents of the elements on the right side of the slash mark.
All locales.
http://ecs.amazonaws.com/onca/xml?
Service=AWSECommerceService&
AWSAccessKeyId=[AWS Access Key ID]&
Operation=BrowseNodeLookup&
SearchIndex=Books&
Keywords=Potter&
ResponseGroup=BrowseNodes&
Version=2007-10-29The following response snippet shows the elements returned by BrowseNodes.
<Item>
<ASIN>B000002ADT</ASIN>
<BrowseNodes>
<BrowseNode>
<BrowseNodeId>63926</BrowseNodeId>
<Name>General</Name>
<Ancestors>
<BrowseNode>
<BrowseNodeId>34</BrowseNodeId>
<Name>Jazz</Name>
<Ancestors>
<BrowseNode>
<BrowseNodeId>301668</BrowseNodeId>
<Name>Styles</Name>
</BrowseNode>
</Ancestors>
</BrowseNode>
</Ancestors>
</BrowseNode>
<BrowseNode>
<BrowseNodeId>598176</BrowseNodeId>
<Name>Hard Bop</Name>
<Ancestors>
<BrowseNode>
<BrowseNodeId>598174</BrowseNodeId>
<Name>Bebop</Name>
<Ancestors>
<BrowseNode>
<BrowseNodeId>34</BrowseNodeId>
<Name>Jazz</Name>
<Ancestors>
<BrowseNode>
<BrowseNodeId>301668</BrowseNodeId>
<Name>Styles</Name>
</BrowseNode>
</Ancestors>
</BrowseNode>
</Ancestors>
</BrowseNode>
</Ancestors>
</BrowseNode>
</BrowseNodes>
</Item>
</Items>