Salesforce B2C Commerce 23.5 > B2C Commerce API > B2C Commerce Pipelets > Search
Pipelet GetSearchSuggestions
This pipelines runs a (partial) user query phrase against the product suggestion index and retrieves useful completions for that search phrase.
Group:
Search
Input Parameters
SearchPhrase  :  String (Optional)
The partial user search phrase as typed in the search box.
MaxSuggestions  :  Number (Optional)
The number of suggestions to return (default is 10 and maximum is 20).
Output Parameters
Suggestions  :  LinkedHashMap  :  (Optional)
A sorted map keyed by the suggestion text mapping to the expected product hit count for that suggestion.
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.