Autocomplete Models
Autocomplete Request
interface AutocompleteRequest {
query: string;
}
Autocomplete Response
interface AutocompleteResponse {
query: string;
categories: AutocompleteCategories;
content: AutocompleteContent;
products: AutocompleteProducts;
queries: AutocompleteQueries;
totalRecords: number;
viewAllText: string;
}
Categories
interface AutocompleteCategory {
title: string;
field: string;
value: string;
url: string;
}
Â
Text Content Results
Â
Product Results
Query Results (Popular Searches)
Â