Build your search interface

This is for:

Developer

To build a Coveo-powered commerce search page, you need to interact with the Search endpoint of the Commerce API. More specifically, you need:

  • A search box for visitors to enter their queries. This search box should call the Request query suggestions endpoint of the Commerce API to provide type ahead suggestions.

    It can also call the Request product suggestions endpoint when a query suggestion is hovered to provide instant products for that query.

  • A search results page to display the search results. This page should target the Search endpoint of the Commerce API to retrieve the search results to display. It also handles the response to display the different user interface elements, such as the search results, facet options, and pagination.

Approaches to building your search interface

There are several approaches to building your search interface. For more detailed guides, see the following: