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.

Represents a Shopify hosted video.

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

•Int

The video's duration in milliseconds. This value is null unless the video's status field is READY.

•[FileError!]!
non-null

Any errors that have occurred on the file.

•String!
non-null

The video's filename.

•FileStatus!
non-null

The status of the file.

•ID!
non-null

A globally-unique ID.

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

•VideoSource

The video's original source. This value is null unless the video's status field is READY.

•MediaPreviewImage

The preview image for the media.

•[VideoSource!]!
non-null

The video's sources. This value is empty unless the video's status field is READY.

•MediaStatus!
non-null

Current status of the media.

•DateTime!
non-null

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

•FileStatus

Status resulting from the latest update operation. See fileErrors for details.


Was this section helpful?

•interface
•interface
•interface

Was this section helpful?