ConnectApi.ProductMedia

Media associated with a product.

Property NameTypeDescriptionAvailable Version
alternateTextStringAlternative text for the product media.49.0
contentVersionIdStringID 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
idStringID of the product image.49.0
mediaTypeConnectApi.​ProductMediaTypeType of product media. Values are:
  • Document
  • Image
  • Video
49.0
sortOrderIntegerSort order of a media item within a media group.49.0
thumbnailUrlStringURL 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
titleStringTitle of the product media.49.0
urlStringURL of the product media.49.0

See Also