MediaImage object

Version 2020-07 (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.

preview (MediaPreviewImage)

The preview image for the media.

status (MediaStatus!)

Current status of the media.

Types that return MediaImage

Implements

Version 2020-04 (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.

preview (MediaPreviewImage)

The preview image for the media.

status (MediaStatus!)

Current status of the media.

Types that return MediaImage

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.

Types that return MediaImage

Implements