Autocomplete
GET https://api.whisk.com/food/v2/autocomplete
Description
Autocomplete returns a set of products to be tracked based on incomplete user input. Usually autocomplete call comes before calling Search API. Most relevant suggestions are returned in the first place
Parameters
Name
Optional
Type
Description
query
no
string
Max length is 255 chars
language
no
string
ISO 639-1 two letter language code
country
yes
string
ISO 3166-1 two letter country code
limit
yes
int
Number of suggestions. Max 10 suggestions.
Request example
Response
Data returned in JSON format. Empty strings, zero values, empty arrays and null values are not returned.
JSON response example
Core attributes
Name
Optional
Type
Description
name
no
string
Localized suggestion text
Last updated