ConnectApi.ProductDetail
Details of a product.
| Property Name | Type | Description | Available Version |
|---|---|---|---|
attributeSetInfo | Map<String, ConnectApi.ProductAttributeSetInfo> | 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 |
primaryProductCategoryPath | ConnectApi.ProductCategoryPath | Primary category path of the product. | 49.0 |
productClass | ConnectApi.ProductClass | Class of product. Values are:
| 50.0 |
productSellingModels | List<ConnectApi.ProductSellingModel> | List of product selling models for the product. | 56.0 |
purchaseQuantityRule | ConnectApi.PurchaseQuantityRule | If one exists, purchase quantity rule for the product. | 52.0 |
urlName | String | SEO-friendly URL name for the product. | 59.0 |
variationAttributeSet | 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 |