Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In
GitHubNuGetDev CommunityDoc feedback


**HTTP Verb** – GET

**URL** – /api/v1/autocomplete /api/v1/autocomplete/products

**Description** – Query products by partial search criteria

**Base** – HandlerBase\<GetAutocompleteProductCollectionParameter, GetAutocompleteProductCollectionResult>

**Handlers**

<table class="TableStyle-Borders" style="margin-left: 0; margin-right: auto; width: 100%;" data-cellspacing="0"> <thead> <tr class="header TableStyle-Borders-Head-Header1"> <th class="TableStyle-Borders-HeadE-Regular-Header1">Order</th> <th class="TableStyle-Borders-HeadE-Regular-Header1">Handler</th> <th class="TableStyle-Borders-HeadD-Regular-Header1">Description</th> </tr> </thead> <tbody> <tr class="odd TableStyle-Borders-Body-Row1"> <td class="TableStyle-Borders-BodyE-Regular-Row1">500</td> <td class="TableStyle-Borders-BodyE-Regular-Row1">GetAutocompleteProductResults</td> <td class="TableStyle-Borders-BodyD-Regular-Row1"><p>Retrieves autocomplete product results from Elasticsearch using a query. If any of the following is "true", this handler is skipped.</p> The Autocomplete "Show Products" setting equals "false"The ProductEnabled property on the parameter object equals "false"The Query property on the parameter object is blank <p>Uses the GetProductSettingsHandler handler chain to retrieve product search settings. If the CanSeeProducts property on the settings object equals "false", an error is returned (the current user cannot search for or see products).</p> <p>The product results are stored in the Products property on the result object.</p></td> </tr> <tr class="even TableStyle-Borders-Body-Row1"> <td class="TableStyle-Borders-BodyE-Regular-Row1">600</td> <td class="TableStyle-Borders-BodyE-Regular-Row1">GetAutocompleteContentResults</td> <td class="TableStyle-Borders-BodyD-Regular-Row1"><p>Retrieves autocomplete content page results from Elasticsearch. If any of the following is "true", this handler is skipped.</p> The Autocomplete "Show Website Pages" setting equals "false"The ContentEnabled property on the parameter object equals "false"The Query property on the parameter object is blank <p>The content page results are stored in the Content property on the result object.</p></td> </tr> <tr class="odd TableStyle-Borders-Body-Row1"> <td class="TableStyle-Borders-BodyB-Regular-Row1">700</td> <td class="TableStyle-Borders-BodyB-Regular-Row1">GetAutocompleteCategoryResults</td> <td class="TableStyle-Borders-BodyA-Regular-Row1"><p>Retrieves autocomplete category results from Elasticsearch. If any of the following is "true", this handler is skipped.</p> The Autocomplete "Show Categories" setting equals "false"The CategoryEnabled property on the parameter object equals "false"The Query property on the parameter object is blank <p>The category results are stored in the Categories property on the result object.</p></td> </tr> </tbody> </table>