ProductSearchResult Document (Shop API 16.8)

Document representing a product search result.

Property Type Constraints Description
count Integer   The number of returned documents.
hits [ProductSearchHit]   The sorted array of search hits. This array can be empty.
next String   The URL of the next result page.
previous String   The URL of the previous result page.
query String   The query String that was searched for.
refinements [ProductSearchRefinement]   The sorted array of search refinements. This array can be empty.
select String   The fields that you want to select.
selected_refinements Map[String, String]   A map of selected refinement attribute id/value(s) pairs. The sorting order is the same as in request URL.
selected_sorting_option String   The id of the applied sorting option.
sorting_options [ProductSearchSortingOption]   The sorted array of search sorting options. This array can be empty.
start Integer minIntegerValue=0 The zero-based index of the first search hit to include in the result.
suggested_search_phrase String   The suggestion given by the system if no result was found for the submitted search phrase.
total Integer   The total number of documents.
X OCAPI obsolete versions 13.x and 14.x will be end of life in 2020 and versions 15.x and 16.x in 2021. For dates and more information, see the OCAPI versioning and deprecation policy and this Knowledge Article.
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.