Core APIs
...
Results
Utility Requests

Autocomplete

2min

Autocomplete Results

When making a request with the type parameter set to type=autocomplete BlueCart API will return autocomplete suggestions for the search term specified in the search_term parameter.

Autocomplete Suggestions
Autocomplete Suggestions


An example of the JSON object returned from an Autocomplete request is shown below:

JSON


BlueCart API returns the following properties for Autocomplete requests:

Property

Type

Description

autocomplete_results

array

Autocomplete Results Array The autocomplete results array contains details of each of the autocomplete suggestions returned from the query.

  • suggestion
  • string
  • The text of the autocomplete suggestion.



  • type
  • string
  • The type of the suggestion.



  • category_name
  • string
  • A category name for the suggestion.


Next Steps      Autocomplete Parameters