Newer Version Available

This content describes an older version of this product. View Latest

Distinct Value Refinement Input

Attribute-based refinement with distinct values for product search.
JSON example
1{
2  "attributeType": "Custom",
3  "nameOrId": "Color__c",
4  "values": ["red", "blue"],
5  "type": "DistinctValue"
6}
Properties
Name Type Description Required or Optional Available Version
attributeType String Search attribute type. Values are:
  • Custom
  • ProductAttribute
  • Standard
Required 50.0
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