Home > @poq/sdk-sfcc > ProductSearchRequestRefinements > addRefinement
Method adds hit type value.
Signature:
addRefinement(key: 'hitType', value: 'product' | 'master' | 'set' | 'bundle' | 'variation_group' | 'slicing_group'): void;
Parameter | Type | Description |
---|---|---|
key | ‘hitType’ | HitType word is a key. |
value | ‘product’ | ‘master’ | ‘set’ | ‘bundle’ | ‘variation_group’ | ‘slicing_group’ | Represents hit type. |
Returns:
void