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, read_images access scope or read_quick_sale 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.

Show fields
•String!
non-null

The video's filename.

•FileStatus!
non-null

The status of the file.

Show enum values
•ID!
non-null

A globally-unique ID.

•MediaContentType!
non-null

The media content type.

Show enum values
•[MediaError!]!
non-null

Any errors which have occurred on the media.

Show fields
•[MediaWarning!]!
non-null

The warnings attached to the media.

Show fields
•VideoSource

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

Show fields
•MediaPreviewImage

The preview image for the media.

Show fields
•[VideoSource!]!
non-null

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

Show fields
•MediaStatus!
non-null

Current status of the media.

Show enum values
•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.

Show enum values

Was this section helpful?

•interface
•interface
•interface

Was this section helpful?