Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Query Parameters

query
string

The terms to search on.

collapse
boolean
default:true
filter
string

A set of filter expressions representing the search parameters for a query: eq=equals, ne=not equals, gt=greater than, lt = less than or equals, gt = greater than or equals, lt = less than or equals, sw = starts with, or cont = contains. Optional.

facetTemplate
string
facetTemplateSubset
string
facet
string
facetFieldRangeQuery
string
facetHierPrefix
string
facetHierValue
string
facetHierDepth
string
facetStartIndex
string
facetPageSize
string
facetSettings
string
facetValueFilter
string
sortBy
string

The element to sort the results by and the order in which the results appear. Either ascending (a-z) or descending (z-a) order. Optional.

pageSize
integer<int32>

Used to page results from a query. Indicates the maximum number of entities to return from a query. The default value is 12 and the maximum value is 200. Optional.

startIndex
integer<int32>
default:0

Used to page results from a query. Indicates the zero-based offset in the complete result set where the returned entities begin. The default value is 0. Optional.

searchSettings
string
enableSearchTuningRules
boolean
default:true
searchTuningRuleContext
string
searchTuningRuleCode
string
responseGroups
string
facetTemplateExclude
string
facetPrefix
string
responseOptions
string
cursorMark
string

Pass in * to begin a deep page operation. The response will include a nextCursorMark value. Pass this into the next call. Continue with this pattern until nextCursorMark is null.

facetValueSort
string
defaultSort
string
shouldSlice
boolean
mid
string
omitNamespace
boolean
includeAllImages
boolean
default:false

Optional. If true return all images instead of default images.

spellcorrectOverride
string
default:Default
useSubscriptionPricing
boolean
default:false
merchandizingRuleCode
string

Optional. Use a specific search-merchandizing-rule code if provided.

customerSegments
string
responseFields
string

limits which fields are returned in the response body

Response

OK

Products and facets returned from search criteria supplied in a ProductSearch query.

facets
object[] | null
items
object[] | null
nextCursorMark
string | null
pageCount
integer<int32>
pageSize
integer<int32>
searchEngine
string | null
searchRedirect
string | null
solrDebugInfo
object
spellcheck
object

Spellcheck related results

startIndex
integer<int32>
totalCount
integer<int32>