Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

This object represents a multimedia file that is configured on an item.

Field

Description

String type

Type of multimedia file. See the ITEM_MULTIMEDIA_TYPE_ constants in the checkoutapi.js file for a list of valid values.

boolean isDefault

True if this is the default multimedia object for it's type. Please note there can be a default image, default video, default PDF file, etc. all on the same item.

integer imageWidth

Width if this is an image.

integer imageHeight

Height if this is an image.

String viewUrl

URL to view the multimedia file.

String description

Description

String code

Code

boolean excludeFromGallery

True if the file should be excluded from gallery displays

CartItemMultimediaThumbnail[] thumbnails

Thumbnails available for this image.


  • No labels