Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ConnectApi.RefinementInput

Attribute-based refinement input for product search.
This class is abstract and is a superclass of ConnectApi.DistinctValueRefinementInput.
Property Type Description Required or Optional Available Version
attributeType ConnectApi.​CommerceSearch​AttributeType Search attribute type.
  • Custom
  • ProductAttribute
  • Standard
Required 52.0
nameOrId String Developer name of the attribute.In version 52.0 and later, the ID of the attribute isn’t supported. Required 52.0
type ConnectApi.​CommerceSearch​FacetType Search facet type. Value is:
  • DistinctValue
  • Range
Required 52.0