Retrieve by prefixAsk AIget https://ac.cnstrc.com/v1/autocomplete/{prefix}Retrieve AI optimized autocomplete results for products and search suggestions (and/or optionally other sections). Prefix length is limited to 200 characters.Path ParamsprefixstringrequiredQuery Paramskeystringrequiredlength between 1 and 100The key of the index to use.num_section_results_per_pageobjectThe number of section results per page to return.Num Section Results Per Page objectoffset_per_sectionobjectThe offset of section results to return.Offset Per Section objectpage_per_sectionobjectThe page of section results to return.Page Per Section objectfiltersobjectAny number of filtering criteria (accessible to end users) used to narrow the result set, such as color=blue or group_id=sandals or price=100-200. Facets and Item Groups and Collections can be used as filters. If filter_value has the form <min>-<max>, it is interpreted as a range. Filters with the same key are ORed together and filters with different keys are ANDed together by default. Only results that match the filters are returned. Boolean values are serialized with the first letter capitalized (e.g., True / False) as a convention.Filters objectfilter_match_typesobjectAn object specifying whether results must match all, any or none of a given filter when multiple options of the same facet (e.g: color: yellow & blue) are selected.filter_match_types objectpre_filter_expressionobjectEncoded JSON stringA JSON-encoded filter expression containing any number of filters (inaccessible to end users) used to narrow the result set. Applied before user-selected filters. Only items that match this expression are considered in facet counts. Only results that match the filters are returned. Read more. Supports per-section format using bracket notation: applies to specific sections.object objectnum_resultsinteger0 to 50nowdate-timeA date time representing the current moment in time when applying filtering by product age. Used to emulate "past/future" requests. Requires authentication.variations_mapjsonA JSON string containing a instructions on how to map item variation data in the response (typically used for swatches). More details, including the exact schema for this value can be found herefmt_optionsobjectAn object containing options to format different aspect of the response.Fmt Options objectqsjsonA JSON-encoded query string. Any query parameters listed for this endpoint can be serialized into a JSON string and parsed thru the qs param.origin_referrerstringThe url or app location where the request originated.cstringlength between 1 and 100The ID of the client and version that the request is coming from, such as cio-js-2.90.usarray of stringsA customer defined context (such as vip-club-member) used to evaluate redirect or refined tag rules. Pass multiple segments by passing multiple us arguments.usADD stringuistringA customer generated anonymized identifier for a user on a customer website. It should only be sent for logged in customers and helps Constructor to tie multiple client and session IDs together to form a behavioral data profile across devices.sintegerAn integer representing the users session number (starting with 1), incremented after a 30 minute period of inactivity.istringA globally unique identifier for the user browser (or mobile application instance) making the request.langstringenumA specification of the user query language. When provided, this parameter enables language-specific processing such as stemming to improve relevance and recall.enarcacsdadeeleneseteufifrgahehihuhyiditltlvnenlnoplptrorusksrsvtatryiShow 34 enum valuesResponses 200OK 400Validation ErrorUpdated 7 months ago