Skip to content
On this page

searchSuggestedProducts

Definition

Search for suggested products based on criteria. From: Shopware 6.4

Signature

ts
export async function searchSuggestedProducts(
  criteria?: ShopwareSearchParams,
  contextInstance: ShopwareApiInstance = defaultInstance,
): Promise<ProductListingResult> 

Parameters

NameTypeDescription
criteria
ShopwareSearchParams
search criteria for products
contextInstance
ShopwareApiInstance
instance of the api client (by default it's an Axios instance)

Return type

ts
Promise<ProductListingResult>

Usage example

WARNING

Example is generated automatically. Sometimes it's required to be adjusted to your needs.

Open in StackBlitz

searchSuggestedProducts has loaded