Search with a named profile
Searches the site with a named search profile. The payload is that of `/search`, with ranking, fields and facets scoped to `:profileSlug`. Use `/search/profiles` to list the public profiles. Every hit field, `id` and `path` included, can be absent. With `market` (a `mkt_` id), the products hidden in that market are left out. `locale` and `fallback` work as on `/search`, and `fallback` defaults to `true`. A `fallback` that is not a boolean returns 422. Returns 403 `AUTHZ_PERMISSION_DENIED` for a profile that is not public, 404 `RESOURCE_NOT_FOUND` for an unknown slug, and 503 `INTERNAL_SERVICE_UNAVAILABLE` when search is not available.
/search/{profileSlug}https://api.lynkow.com/storefront/{siteId}Path parameters
profileSlugstringrequiredSlug of the named search profile
Query parameters
categorystringKeeps only the contents in the category with this slug
fallbackbooleanWith `locale`, `false` leaves out the items not translated into the requested locale. Single-language sites ignore it
limitnumberHits per page. Defaults to the search profile's `defaultLimit`. A value above its `maxLimit` is lowered to it, and a non-numeric one uses the default
localestringBCP 47 locale code (e.g. "en", "fr")
marketstringMarket `mkt_` id: products hidden in that market are left out. An unknown, draft or malformed value is ignored
pagenumberPage number, starting at 1
qstringFull-text search query string. Min 1 character
tagstringKeeps only the contents carrying the tag with this slug