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

Media associated with a product category.
Property Name Type Description Available Version
alternateText String Alternative text for the product category media. 49.0
contentVersionId String ID of the latest published content version if the media is stored as a ContentDocument. If the image is a customer-provided external URL, the value is null. Not supported in enhanced CMS workspaces. 49.0
id String ID of the product category image. 49.0
mediaType ConnectApi.​ProductMediaType Type of product media. Values are:
  • Document
  • Image
  • Video
49.0
sortOrder Integer Sort order of a media item inside a media group. 49.0
thumbnailUrl String URL of the thumbnail for product media. If a value exists, it should be used for the thumbnail whether the image is natively uploaded or hosted externally. Not supported in enhanced CMS workspaces. 49.0
title String Title of the product category media. 49.0
url String URL of the product category media. 49.0