Skip to main content
object

Requires read_products access scope, read_files access scope, read_themes access scope, read_orders access scope, read_draft_orders access scope or read_images access scope.

An image hosted on Shopify.

Anchor to Fields and connectionsFields and connections

•String

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

•DateTime!non-null

The date and time (ISO 8601 format) when the file was created.

•[FileError!]!non-null

Any errors that have occurred on the file.

•FileStatus!non-null

The status of the file.

•ID!non-null

A globally-unique ID.

•Image

The image for the media. Returns null until status is READY.

•MediaContentType!non-null

The media content type.

•[MediaError!]!non-null

Any errors which have occurred on the media.

•[MediaWarning!]!non-null

The warnings attached to the media.

•String

The MIME type of the image.

•MediaImageOriginalSource

The original source of the image.

•MediaPreviewImage

The preview image for the media.

•MediaStatus!non-null

Current status of the media.

•DateTime!non-null

The date and time (ISO 8601 format) when the file was last updated.

Deprecated fields and connections

•MetafieldDeprecated
•MetafieldConnection!non-nullDeprecated

Was this section helpful?

•interface
•interface
•interface

Was this section helpful?