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.ProductSearchGroupingInput

Grouping information for product search results.
Property Type Description Required or Optional Available Version
groupingOption ConnectApi.​CommerceSearch​GroupingOption Grouping option for search results. Values are:
  • BestMatch—Search results are grouped by the best-match product of the variation group.
  • NoGrouping—Search results aren’t grouped.
  • VariationParent—Search results are grouped by the variation parent.
Required 52.0
topProductType ConnectApi.​CommerceSearch​TopProductType Type of the top product to return for each product group in search results. Value is:
  • VariationParent

If NoGrouping is specified for groupingOption, topProductType is ignored.

Optional 52.0—62.0