Autocomplete API Integrations

The flow for API calls to show the shopper Autocomplete is as follows:

input to suggest to autocomplete api flow
  1. As a shopper types into the search bar, use our Suggest API to receive query suggestions.

  2. As a shopper types into the search bar, use our Autocomplete API to fetch products to display as a preview in the Autocomplete Module.

When a shopper hovers over a different rendered query suggestion, simply pass the value to the Autocomplete API to get and render product results for the hovered suggestion.

how to handle query suggestions

Did this page help you?