/sofmap/categories

POST /api/sofmap/categories

Price: 5 credits

Get the Sofmap (ソフマップ) category tree. Without arguments it returns every top-level category with its second level; with a category it returns that category's ancestors and children together with the number of products behind each one.

How to use it

The sofmap.com category tree. Call it without arguments for the two top levels of the whole catalogue, or with a category_id to walk deeper: that form returns the ancestors, the category itself (is_current) and its children, each with product_count. Every id is the category_id accepted by the products/search, products/ranking and products/facets endpoints. The second-hand リコレ! store has its own separate tree behind the used_products/categories endpoint.

Parameters

Request body

Response

Errors

Response headers