API version: unstable
API version: 2021-01 Release candidate
API version: 2020-10 Latest
API version: 2020-07
API version: 2020-04
API version: 2020-01
API version: 2019-10 Unsupported
API version: 2019-07 Unsupported

MediaImage object

Version 2021-01 (Release candidate)

Represents a Shopify hosted image.

Required access

read_products access scope.

Fields

alt (String)

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

id (ID!)

Globally unique identifier.

image (Image)

The image for the media.

mediaContentType (MediaContentType!)

The media content type.

mediaErrors ([MediaError!]!)

Any errors which have occurred on the media.

mimeType (String)

The MIME type of the image.

preview (MediaPreviewImage)

The preview image for the media.

status (MediaStatus!)

Current status of the media.

Implements

Version 2020-10 (Latest)

Represents a Shopify hosted image.

Required access

read_products access scope.

Fields

alt (String)

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

id (ID!)

Globally unique identifier.

image (Image)

The image for the media.

mediaContentType (MediaContentType!)

The media content type.

mediaErrors ([MediaError!]!)

Any errors which have occurred on the media.

mimeType (String)

The MIME type of the image.

preview (MediaPreviewImage)

The preview image for the media.

status (MediaStatus!)

Current status of the media.

Implements

Version 2020-07

Represents a Shopify hosted image.

Required access

read_products access scope.

Fields

alt (String)

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

id (ID!)

Globally unique identifier.

image (Image)

The image for the media.

mediaContentType (MediaContentType!)

The media content type.

mediaErrors ([MediaError!]!)

Any errors which have occurred on the media.

preview (MediaPreviewImage)

The preview image for the media.

status (MediaStatus!)

Current status of the media.

Implements

Version 2020-04

Represents a Shopify hosted image.

Required access

read_products access scope.

Fields

alt (String)

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

id (ID!)

Globally unique identifier.

image (Image)

The image for the media.

mediaContentType (MediaContentType!)

The media content type.

mediaErrors ([MediaError!]!)

Any errors which have occurred on the media.

preview (MediaPreviewImage)

The preview image for the media.

status (MediaStatus!)

Current status of the media.

Implements

Version 2020-01

Represents a Shopify hosted image.

Required access

read_products access scope.

Fields

alt (String)

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

id (ID!)

Globally unique identifier.

image (Image)

The image for the media.

mediaContentType (MediaContentType!)

The media content type.

mediaErrors ([MediaError!]!)

Any errors which have occurred on the media.

preview (MediaPreviewImage)

The preview image for the media.

status (MediaStatus!)

Current status of the media.

Implements