Poq.SDK.Node

Home > @poq/sdk-sfcc > ProductSearchRefinement

ProductSearchRefinement class

Document representing a product search refinement attribute.

Signature:

export declare class ProductSearchRefinement extends BaseModel<ProductSearchRefinement> 

Extends: BaseModel<ProductSearchRefinement

Constructors

Constructor Modifiers Description
(constructor)(params)   Constructs a new instance of the ProductSearchRefinement class

Properties

Property Modifiers Type Description
attributeId   string The id of the search refinement attribute. In the case of an attribute refinement, this is the attribute id. Custom attributes are marked by the prefix “c_” (for example, “c_refinementColor). In the case of a category refinement, the id must be “cgid. In the case of a price refinement, the id must be “price.
label?   string (Optional) The localized label of the refinement.
values?   Array<ProductSearchRefinementValue> (Optional) The sorted array of refinement values. This array can be empty.