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 video hosted outside of Shopify.

•String

A word or phrase to describe the contents or the function of a file.

•DateTime!
non-null

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

•URL!
non-null

The embed URL of the video for the respective host.

•[FileError!]!
non-null

Any errors that have occurred on the file.

Show fields
•FileStatus!
non-null

The status of the file.

Show enum values
•MediaHost!
non-null

The host of the external video.

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
•URL!
non-null

The origin URL of the video on the respective host.

•MediaPreviewImage

The preview image for the media.

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
•URL!
non-nullDeprecated

Was this section helpful?

•interface
•interface
•interface

Was this section helpful?