follows up the ancestral tree. Running the request multiple times, therefore might return a different set of
ancestors for a node.
You can use the
BrowseNodes
response group with
ItemLookup
,
ItemSearch
, and
SimilarityLookup
.
The
BrowseNodeInfo
response group returns browse node names, IDs, children and parent browse
nodes, as shown in the following response snippet.
<BrowseNodeId>11232</BrowseNodeId>
<Name> Social Sciences</Name>
<Ancestors>
<BrowseNode>
<BrowseNodeId>53</BrowseNodeId>
<Name>Nonfiction</Name>
<Ancestors>
<BrowseNode>
<BrowseNodeId>1000</BrowseNodeId>
<Name>Subjects</Name>
<Ancestors>
<BrowseNode>
<BrowseNodeId>283155</BrowseNodeId>
<Name>Books</Name>
</BrowseNode>
</Ancestors>
</BrowseNode>
</Ancestors>
</BrowseNode>
</Ancestors>
<Children>
<BrowseNode>
<BrowseNodeId>11233</BrowseNodeId>
<Name>Anthropology</Name>
</BrowseNode>
<BrowseNode>
<BrowseNodeId>11242</BrowseNodeId>
<Name>Archaeology</Name>
</BrowseNode>
<BrowseNode>
<BrowseNodeId>3048861</BrowseNodeId>
<Name>Children's Studies</Name>
</BrowseNode>
</Children>
This response shows that the Social Sciences browse node has three child browse nodes: Anthropology,
Archaeology, and Children's Studies, and an ancestry that starts with the parent node, Nonfiction and
ends with the root browse node, Books.
You can use this response group only with
BrowseNodeLookup
. Typically use
BrowseNodeLookup
to
navigate the browse node tree. With every response, you use the browse node IDs returned to refine
your search until you reach the desired browse node.You might, for example, navigate down the tree to
refine a search or retrieve the root browse node to return, for example, the top sellers in the product
category. To do that, you would use the ID of the root browse node found in the BrowseNodeInfo response
as the value for the BrowseNode parameter in an
ItemSearch
request. That request would include the
TopSellers response group so that the top sellers of the product category are returned.
Note: If a browse node has multiple ancestors, only one of them is returned in the response.
API Version 2011-08-01
37
Product Advertising API Developer Guide
Browse Nodes