Home > @vsf-enterprise/sapcc-api > Endpoints > getSuggestions

Endpoints.getSuggestions() method

Returns Suggestions as list.

Signature:

getSuggestions(context: SapccIntegrationContext, props: SearchSuggestionsProps): Promise<SuggestionList>;

Parameters

Parameter Type Description
context SapccIntegrationContext An auto-generated value prepended to the method as a first parameter.
props SearchSuggestionsProps An object which contains necessary properties for getting suggestions about entered search term.

Returns:

Promise<SuggestionList>