Skip to main content

Variable: intelligentSearchFetcher

const intelligentSearchFetcher: ProductFetcher<Product>

Defined in: hydration/intelligentSearch/fetcher.ts:22

Fetches products from Intelligent Search (IS) based on provided SKUs and sellers.

Implements ProductFetcher interface to fetch products.

It changes the IS response to ensure the products to include only those that match the specified SKUs and sellers.

Param

Array of offers containing SKU and seller information

Param

Identity object containing account name

Returns

Promise resolving to array of products that match the offers