/pckoubou/categories

POST /api/pckoubou/categories

Price: 10 credits

Get the PC Koubou (パソコン工房) product category tree. Without arguments it returns the top level; with a category it returns that category's ancestors, the category itself and its children, each with the number of products behind it.

How to use it

The pc-koubou.jp category tree, covering built-to-order machines, DIY components, peripherals and second-hand gear. Call it without arguments for the top-level departments, or with a category to walk deeper. Each entry carries id, name, parent_id, level and product_count. An id is the colon-joined Japanese path, such as '自作PCパーツ:グラフィックカード', and is exactly what the products/search and products/facets endpoints take as category; append a colon and a child name to go one level down. The shop addresses categories by this path and not by a numeric code, so there is no per-category page address to return.

Parameters

Request body

Response

Errors

Response headers