Poq.SDK.Node

Home > @poq/sdk-sfcc > ProductSearchRequestRefinements > addRefinement

ProductSearchRequestRefinements.addRefinement() method

Method adds hit type value.

Signature:

addRefinement(key: 'hitType', value: 'product' | 'master' | 'set' | 'bundle' | 'variation_group' | 'slicing_group'): void;

Parameters

Parameter Type Description
key ‘hitType’ HitType word is a key.
value ‘product’ | ‘master’ | ‘set’ | ‘bundle’ | ‘variation_group’ | ‘slicing_group’ Represents hit type.

Returns:

void