Search with the default profile
Searches the site's content with the default profile. Send the query in `q`, and narrow it with `category` or `tag`. Every hit field can be absent, `id` and `path` included: the site's indexed fields and the profile decide the shape. With `market` (a `mkt_` id), the products hidden in that market are left out. With `locale`, each hit is the best translation the locale chain finds. `fallback` defaults to `true` here, and `fallback=false` keeps only the hits written in the requested locale. A `fallback` that is not a boolean returns 422. Returns 503 `INTERNAL_SERVICE_UNAVAILABLE` when search is not available for the site.
/searchhttps://api.lynkow.com/storefront/{siteId}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