Anchor to Media
Media
interface
Requires access scope,
access scope,
access scope,
access scope,
access scope or
access scope.
Represents a media interface.
Anchor to FieldsFields
- •
A word or phrase to share the nature or contents of a media.
- •ID!non-null
A globally-unique ID.
- Anchor to mediaContentTypemedia•
Content Type MediaContent non-nullType! The media content type.
- Anchor to mediaErrorsmedia•
Errors [MediaError!]! non-null Any errors which have occurred on the media.
- Anchor to mediaWarningsmedia•
Warnings [MediaWarning!]! non-null The warnings attached to the media.
- Anchor to previewpreview•
The preview image for the media.
- Anchor to statusstatus•Media
Status! non-null Current status of the media.
Was this section helpful?
Anchor to Types implemented inTypes implemented in
- •OBJECT
An image hosted on Shopify.
- •OBJECT
Represents a Shopify hosted 3D model.
- •OBJECT
Represents a Shopify hosted video.
Was this section helpful?
{
"alt": "",
"id": "",
"mediaContentType": "",
"mediaErrors": "",
"mediaWarnings": "",
"preview": "",
"status": ""
}
{
"alt": "",
"id": "",
"mediaContentType": "",
"mediaErrors": "",
"mediaWarnings": "",
"preview": "",
"status": ""
}
interface Media {
alt: String
id: ID!
mediaContentType: MediaContentType!
mediaErrors: [MediaError!]!
mediaWarnings: [MediaWarning!]!
preview: MediaPreviewImage
status: MediaStatus!
}