Interface SearchProducts

interface SearchProducts {
    categoryId?: string;
    categoryPath?: string;
    collapse?: string;
    facets?: SearchFacet[];
    from?: number;
    fuzzy?: boolean;
    hits: SearchProduct[];
    size?: number;
    total: number;
}

Properties

categoryId?: string

Unmodified request parameter categoryId

categoryPath?: string

Unmodified request parameter categoryPath

collapse?: string

Returns only one result for each unique value for provided field. Can be used to group product variations (e.g. different colors)

facets?: SearchFacet[]

Facet list

from?: number

Unmodified request parameter from to be used for further pagination

fuzzy?: boolean

If main search query returned no results and fuzzy search was triggered

Product list

size?: number

Unmodified request parameter size to be used for further pagination

total: number

How many products were found