Home > @poq/sdk-sfcc > ProductSearchRequestRefinements > addRefinement
Method adds category value.
Signature:
addRefinement(key: 'category', value: string): void;
| Parameter | Type | Description |
|---|---|---|
| key | ‘category’ | Category constant is a key. |
| value | string | Value of the category. |
Returns:
void