/sofmap/used_products/facets

POST /api/sofmap/used_products/facets

Price: 5 credits

Get the filter catalogue of Sofmap's リコレ! (Recore) second-hand store for one scope: every maker holding stock in it and the price bands the stock falls into, each with the number of copies behind it. The scope is described with the same fields as the second-hand search, so the catalogue matches the search it is going to be used with.

How to use it

The values the maker and price filters of used_products/search accept, with live counts. Scope it the same way you would scope the search — category, subcategory, keyword, used_rank, maker, stock_type, stock_count, specs — and the answer carries unit_count (copies in scope), model_count (distinct models) and one entry per facet. Each facet has an id, the payload_field of the search endpoint it feeds and its values; a value carries unit_count, and a price band also carries price_min and price_max in JPY, which go straight into the price_min/price_max of the search. The maker catalogue is the one published for the category in scope, so read it per category rather than assuming a fixed list; narrowing the scope any further reshapes the price bands rather than the maker list.

Parameters

Request body

Response

Errors

Response headers