We're constantly trying to improve your support experience, and your feedback is extremely valuable to us.

Please take a moment to tell us about your experience today.
Sign up for future Help Center user research studies.

MediaImage

Version unstable

Represents a Shopify hosted image.

Required access

read_products access scope

Show definition
"""
Represents a Shopify hosted image.
"""
type MediaImage implements Media & Node {
  """
  A word or phrase to share the nature or contents of a media.
  """
  alt: String
  """
  Globally unique identifier.
  """
  id: ID!
  """
  The image for the media.
  """
  image: Image
  """
  The media content type.
  """
  mediaContentType: MediaContentType!
  """
  Any errors which have occurred on the media.
  """
  mediaErrors: [MediaError!]!
  """
  The position of the media object.
  """
  position: Int!
  """
  The preview image for the media.
  """
  previewImage: Image
  """
  Current status of the media.
  """
  status: MediaStatus!
}

Implements

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.

position (Int!)

The position of the media object.

previewImage (Image)

The preview image for the media.

status (MediaStatus!)

Current status of the media.

Sign up for a Partner account to get started.

Sign up