The Search () icon in the header allows you to quickly search for and select the product you are looking for.

There are two ways you can search for a product.

  • Click the Search icon and use the text search to search and select a product.

    The following API is used to get the list of products based on the type-ahead search result, with the query parameter. For more information, click here.

    GET https://<URL_of_the_Instance>/api/catalog/v1/products/typeahead

    For example: https://<URL_of_the_Instance>/api/catalog/v1/products?limit={pageLimit}&query=Home Appliance

  • Click the Search icon and enter a few keywords or a whole keyword including space and press Enter on your keyboard. A list of products is displayed matching the entire keywords you entered.

    The following API is used to get the list of products based on the search result, with the query parameter. For more information, click here.

    GET https://<URL_of_the_Instance>/api/catalog/v1/products

    For example: https://<URL_of_the_Instance>/api/catalog/v1/products?query=Home Appliance&page={pageNumber}&limit={pageLimit}

You can select a product from the search results and click Add to Cart to add the product to the cart. If a product is configurable, you can configure a product with multiple options or attributes and then add the product configuration to the cart.