ConnectApi.ProductDetail

Details of a product.

Property NameTypeDescriptionAvailable Version
attributeSetInfoMap<String, ConnectApi.​ProductAttribute​SetInfo>Map of the attribute set developer name to its metadata.50.0
defaultImageConnectApi.​ProductMediaDefault image of the product.49.0
entitlementConnectApi.​ProductEntitlementEntitlement details for the product.
To get pricing information for products in version 57 and later, use the CommerceStorePricing Class.
49.0–56.0
fieldsMap<String, String>List of fields for the product.49.0
idStringID of the product.49.0
mediaGroupsList<ConnectApi.​ProductMediaGroup>List of media groups of the product.49.0
primaryProduct​CategoryPathConnectApi.​ProductCategoryPathPrimary category path of the product.49.0
productClassConnectApi.​ProductClassClass of product. Values are:
  • Bundle
  • Set
  • Simple
  • Variation
  • VariationParent
50.0
productSelling​ModelsList<ConnectApi.​ProductSelling​Model>List of product selling models for the product.56.0
purchaseQuantity​RuleConnectApi.​PurchaseQuantity​RuleIf one exists, purchase quantity rule for the product.52.0
urlNameStringSEO-friendly URL name for the product.59.0
variationAttribute​SetConnectApi.​ProductAttributeSetVariation attribute set for the product.50.0
variationInfoConnectApi.​ProductVariationInfoAvailable and allowable values for variation attributes and a map to resolve variation product IDs from attribute value combinations.50.0
variationParentIdStringID of the variation parent.50.0