Poq.SDK.Node

Home > @poq/sdk-sfcc > IProductSearchHitsMerger > merge

IProductSearchHitsMerger.merge() method

Method merges poq product listings with sfcc product search hits.

Signature:

merge(appIdentifier: string, searchResults: ProductSearchResult | undefined): Promise<PoqResponse<SearchResponseProductListing[]>>;

Parameters

Parameter Type Description
appIdentifier string The unique guid v4 app identifier.
searchResults ProductSearchResult | undefined SFCC product search results.

Returns:

Promise<PoqResponse<SearchResponseProductListing[]>>

Merged poq products and sfcc product search results.