Search with a named profile
Search the site using a named search profile. Same payload shape as `/search` but ranking, fields, and facets are scoped to the profile referenced by `:profileSlug`. Use `/search/profiles` to discover the available profiles. Every hit field, including `id` and `path`, can be omitted by indexing or display configuration. Nested category and tag names and slugs are optional too. With `market` (a `mkt_` id), the products hidden in that market are left out. `locale` and `fallback` follow the same storefront fallback contract as `/search`: `fallback` defaults to `true`, a missing translation is served through the locale chain, `fallback=false` keeps only the hits written in the requested locale, each hit carries `locale`, `requestedLocale` and `isFallback` when `locale` is sent, and the response sends `Content-Language` with the locales served. A `fallback` that is not a boolean returns 422.
/search/{profileSlug}https://api.lynkow.com/storefront/{siteId}Path parameters
profileSlugstringrequiredSlug of the named search profile
Query parameters
categorystringfallbackbooleanWhether a missing translation may be served from another locale. On the storefront it defaults to true: an item with no translation in the requested locale is served through the locale chain (the requested locale, its base language, the site default locale, then a locale the item exists in) and flagged by isFallback. false keeps the requested locale only: on a multi-language site a list drops the other items and a single-item read with none is a 404, unless the operation serves default values. On the /v1 search endpoints it defaults to false. A value that is not a boolean is a 422
limitnumberlocalestringBCP 47 locale code (e.g. "en", "fr")
marketstringMarket identifier (mkt_ prefixed id): products hidden in that market are left out. An unknown, inactive or malformed value filters nothing
pagenumberqstringFull-text search query string. Min 1 character
tagstring