/tsukumo/categories

POST /api/tsukumo/categories

Price: 10 credits

Get the TSUKUMO (ツクモ) product category tree. Without arguments it returns the top level; with a category it returns that category's ancestors, its siblings and its children, each with the number of products behind it.

How to use it

The shop.tsukumo.co.jp category tree. Call it without arguments for the eleven top-level departments, or with a category to walk deeper: that form returns the ancestors, the category itself (is_current), its siblings and its children. Each entry carries id, name, url, parent_id, level and product_count. An id is a colon-joined path such as '20:2005:2005400' and is the category accepted by the products/search and products/facets endpoints; append a colon and a child segment to go one level down. The tree is four levels deep at most.

Parameters

Request body

Response

Errors

Response headers