Skip to main content
interface

Requires unauthenticated_read_product_listings access scope.

Represents a media interface.

•String

A word or phrase to share the nature or contents of a media.

•ID!
non-null

A globally-unique ID.

•MediaContentType!
non-null

The media content type.

•MediaPresentation

The presentation for a media.

•Image

The preview image for the media.


Was this section helpful?

Anchor to Types implemented inTypes implemented in

•OBJECT

Represents a video hosted outside of Shopify.

•String

A word or phrase to share the nature or contents of a media.

•URL!
non-null

The embed URL of the video for the respective host.

•MediaHost!
non-null

The host of the external video.

•ID!
non-null

A globally-unique ID.

•MediaContentType!
non-null

The media content type.

•URL!
non-null

The origin URL of the video on the respective host.

•MediaPresentation

The presentation for a media.

•Image

The preview image for the media.

•URL!
non-nullDeprecated
•OBJECT

An image hosted on Shopify's content delivery network (CDN). Used for product images, brand logos, and other visual content across the storefront.

The image field provides the actual image data with transformation options. Implements the Media interface alongside other media types like Video and Model3d.

•String

A word or phrase to share the nature or contents of a media.

•ID!
non-null

A globally-unique ID.

•Image

The image for the media.

•MediaContentType!
non-null

The media content type.

•MediaPresentation

The presentation for a media.

•Image

The preview image for the media.

•OBJECT

Represents a Shopify hosted 3D model.

•String

A word or phrase to share the nature or contents of a media.

•ID!
non-null

A globally-unique ID.

•MediaContentType!
non-null

The media content type.

•MediaPresentation

The presentation for a media.

•Image

The preview image for the media.

•[Model3dSource!]!
non-null

The sources for a 3d model.

•OBJECT

A video hosted on Shopify's servers. Implements the Media interface and provides multiple video sources through the sources field, each with format, dimensions, and URL information for adaptive playback.

For videos hosted on external platforms like YouTube or Vimeo, use ExternalVideo instead.

•String

A word or phrase to share the nature or contents of a media.

•ID!
non-null

A globally-unique ID.

•MediaContentType!
non-null

The media content type.

•MediaPresentation

The presentation for a media.

•Image

The preview image for the media.

•[VideoSource!]!
non-null

The sources for a video.


Was this section helpful?