/sofmap/products/facets

POST /api/sofmap/products/facets

Price: 1 credit

Get the full filter catalogue Sofmap (ソフマップ) offers inside one category: its child categories, new versus second-hand counts, second-hand condition grades, every maker and colour, the price bands, the availability flags and the category-specific specification facets, each value with the number of products behind it and the code to pass back to the search endpoint.

How to use it

Given a category_id (e.g. '001010150' from the categories endpoint) return every filter that category supports. Each facet has an id that stays the same wherever that facet appears, the key it occupies in this category, a Japanese name, the payload_field of the search endpoint it feeds, and its values with value (the code to send), name and product_count. Maker codes go into the maker field of the search endpoint, specification facet codes into specs, condition grades into used_rank, colours into color and the price bands into price_min/price_max. The specification facets differ from one category to another, so read them per category rather than assuming a fixed set.

Parameters

Request body

Response

Errors

Response headers