ConnectApi.RefinementInput

Attribute-based refinement input for product search.

This class is abstract and is a superclass of ConnectApi.DistinctValueRefinementInput.

PropertyTypeDescriptionRequired or OptionalAvailable Version
attributeTypeConnectApi.​CommerceSearch​AttributeTypeSearch attribute type.
  • Custom
  • ProductAttribute
  • Standard
Required52.0
nameOrIdStringDeveloper name of the attribute.In version 52.0 and later, the ID of the attribute isn’t supported.Required52.0
typeConnectApi.​CommerceSearch​FacetTypeSearch facet type. Value is:
  • DistinctValue
  • Range
Required52.0