/pckoubou/products/facets

POST /api/pckoubou/products/facets

Price: 5 credits

Get the full filter catalogue PC Koubou (パソコン工房) offers for a category or a free-text query: every maker, holding branch, merchandising label, campaign tag and category-specific specification value, each with the number of products behind it and the exact token to pass back to the search endpoint.

How to use it

Given a category such as '自作PCパーツ:グラフィックカード' from the categories endpoint, a keyword, both or neither, return every filter pc-koubou.jp supports for that scope. Each facet carries its key, a Japanese name where the source names it, the payload_field of the search endpoint it feeds, and its values with value, name, product_count and filter. Send a value straight into maker, store, labels, campaign_tags or item_type when payload_field says so; where payload_field is release_period send the value's filter token instead, because that field takes an English period name rather than the shop's Japanese wording; for everything else send the ready made filter token into specs. The specification facets differ from one category to another — a graphics-card branch offers chipset, bus and output filters while a machine branch offers OS, CPU and memory — so read them per category rather than assuming a fixed set.

Parameters

Request body

Response

Errors

Response headers