Home > widget-integration > RecommendationModelProperties > rules

RecommendationModelProperties.rules property

Optional rule groups for rule-based recommendations. Only used by 'hand-picked-products' and 'bestsellers' recommendation types. Backend transforms raw data (IDs, strings) into UI-friendly format with labels.

Signature:

rules?: RuleGroupType[];