Interface SearchResult

Search response

interface SearchResult {
    autocorrect?: SearchAutocorrect;
    explain?: SearchExplain;
    keywords?: SearchKeywords;
    products?: SearchProducts;
    query?: string;
    redirect?: string;
}

Properties

autocorrect?: SearchAutocorrect

Returned if autocorrect was triggered

explain?: SearchExplain

Gives additional info on why search results are the way they are. Returned if request was sent with explain: true parameter.

keywords?: SearchKeywords

Keywords response

products?: SearchProducts

Product response

query?: string

Search text the results were returned for

redirect?: string

Returns redirect url if redirect rule matched