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

Details of a product.
Property Name Type Description Available Version
attributeSetInfo Map<String, ConnectApi.​ProductAttribute​SetInfo> Map of the attribute set developer name to its metadata. 50.0
defaultImage ConnectApi.​ProductMedia Default image of the product. 49.0
entitlement ConnectApi.​ProductEntitlement Entitlement details for the product.

To get pricing information for products in version 57 and later, use the CommerceStorePricing Class.

49.0–56.0
fields Map<String, String> List of fields for the product. 49.0
id String ID of the product. 49.0
mediaGroups List<ConnectApi.​ProductMediaGroup> List of media groups of the product. 49.0
primaryProduct​CategoryPath ConnectApi.​ProductCategoryPath Primary category path of the product. 49.0
productClass ConnectApi.​ProductClass Class of product. Values are:
  • Bundle
  • Set
  • Simple
  • Variation
  • VariationParent
50.0
productSelling​Models List<ConnectApi.​ProductSelling​Model> List of product selling models for the product. 56.0
purchaseQuantity​Rule ConnectApi.​PurchaseQuantity​Rule If one exists, purchase quantity rule for the product. 52.0
urlName String SEO-friendly URL name for the product. 59.0
variationAttribute​Set ConnectApi.​ProductAttributeSet Variation attribute set for the product. 50.0
variationInfo ConnectApi.​ProductVariationInfo Available and allowable values for variation attributes and a map to resolve variation product IDs from attribute value combinations. 50.0
variationParentId String ID of the variation parent. 50.0