Distinct Value Refinement Input

Attribute-based refinement with distinct values for product search.
JSON example
1{
2  "nameOrId": "Color__c",
3  "values": ["red", "blue"],
4  "type": "DistinctValue"
5}
Properties
Name Type Description Required or Optional Available Version
nameOrId String Developer name of the attribute. In version 49.0 and later, the ID of the attribute isn’t supported. Required 49.0
type String Search facet type. Value is DistinctValue. Required 49.0
values String[] Comma separated list of attribute values. Required 49.0