Get Suggested Search Terms

Suggests possible search terms as the shopper enters search text. In Unified Commerce, a Suggest2 API exists that returns results based on the returnFields option defined in the search settings. The same request structure and response as documented here is supported by both the /suggest and /suggest2 API endpoints, so either one can be used for this purpose with the same data.

Query Params
string

Comma delimited list of suggestion groups that should be returned. The default is everything

string
int32

Indicates the maximum number of entities to return from a query. The default value is 10 and the maximum value is 200. Optional.

string
string
string

limits which fields are returned in the response body

Response

Language
Credentials
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/json
text/plain