This method gets suggestions for the user's search activity for a channel.
If you would like to get a raw Response object use the other getSuggestions function.
An object containing the options for this method.
A promise of type Suggestions.
This method gets suggestions for the user's search activity for a channel.
An object containing the options for this method.
Set to true to return entire Response object instead of DTO.
A promise of type Response if rawResponse is true, a promise of type Suggestions otherwise.
This method retrieves search results for a Channel.
If you would like to get a raw Response object use the other retrieveResults function.
An object containing the options for this method.
A promise of type QueryOutput.
This method retrieves search results for a Channel.
An object containing the options for this method.
Set to true to return entire Response object instead of DTO.
A promise of type Response if rawResponse is true, a promise of type QueryOutput otherwise.
Generated using TypeDoc
Shopper Discovery Search
Einstein-powered product search and search suggestions.
Simple example:
API Version: 1.1.6import { ShopperDiscoverySearch } from "commerce-sdk-isomorphic"; const clientConfig = { parameters: { clientId: "XXXXXX", organizationId: "XXXX", shortCode: "XXX", siteId: "XX" } }; const shopperDiscoverySearchClient = new ShopperDiscoverySearch(clientConfig);
Last Updated: