SFRA Server-side Javascript - Namespace: SearchServices menu

SFRA / Server-side JS / Namespace: SearchServices

SearchServices

Methods

(static) Base/SearchServices-GetSuggestions()

SearchServices-GetSuggestions : The SearchServices-GetSuggestions endpoint is responsible for searching as you type and displaying the suggestions from that search

Parameters:
Type Description
middleware

cache.applyDefaultCache

querystringparameter

q - the query string a shopper is searching for

category

non-sensitive

returns

json

serverfunction

get

Source: