Newer Version Available

This content describes an older version of this product. View Latest

ConnectApi.ProductMedia

Media associated with a product.
Property Name Type Description Available Version
alternateText String Alternative text for the product 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. 49.0
id String ID of the product 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 within 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. 49.0
title String Title of the product media. 49.0
url String URL of the product media. 49.0