Skip to main content
interface

Represents a media interface.

•String

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

•ID!

A globally-unique ID.

•MediaContentType!

The media content type.

•Image

The preview image for the media.


Was this section helpful?

Anchor to Types implemented inTypes implemented in

•OBJECT

The generic file resource lets you manage files in a merchant's store. Generic files include any file that doesn't fit into a designated type such as image or video. Example: PDF, JSON.

•String

A word or phrase to indicate the contents of a file.

•ID!

A globally-unique ID.

•MediaContentType!

The media content type.

•String

The MIME type of the file.

•Int

The size of the original file in bytes.

•Image

The preview image for the media.

•URL

The URL of the file.

•OBJECT

Represents a Shopify hosted image.

•String

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

•ID!

A globally-unique ID.

•Image

The image for the media.

•MediaContentType!

The media content type.

•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!

A globally-unique ID.

•MediaContentType!

The media content type.

•Image

The preview image for the media.

•[Model3dSource!]!

The sources for a 3d model.

•OBJECT

Represents a Shopify hosted video.

•String

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

•ID!

A globally-unique ID.

•MediaContentType!

The media content type.

•Image

The preview image for the media.

•[VideoSource!]!

The sources for a video.


Was this section helpful?