Skip to main content

Get the category tree for department navigation

GET 

/categories

Relays product-discovery GET /categories unchanged: the category tree with purchasable counts, shaped {version, categories: [{categoryId, parentId (null on a root), name, path, purchasableCount}]}. It takes no parameters; anything in the query string is dropped. The page uses it to show department names for the categoryId filter of GET /products. The tree is one bounded navigation document, not a resource collection.

Responses​

The upstream answer, relayed unchanged.