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

Overview of a product, with summary information about prices, selected fields, and the product’s default image.
Property Name Type Description Available Version
defaultImage ConnectApi.​ProductMedia Media representation of the product's default image. 54.0
error ConnectApi.​ErrorResponse Error code and error message. 54.0
fields Map<String, String> Map of fields belonging to the product. 54.0
id String ID of the product. 54.0
prices ConnectApi.​PricingResult​LineItem Price of the product.

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

54.0–57.0
sku String SKU of the product. 54.0
success Boolean Represents whether execution was successful and product overview information was retrieved without error. 54.0