Skip to main content

MediaImage

No description

type MediaImage {
id: ID!
productId: ID
clusterId: ID
categoryId: ID
sparePartsMachineId: ID
alt(
language: String
): [LocalizedString!]!
description(
language: String
): [LocalizedString!]!
tags(
language: String
): [LocalizedStringArray!]!
type: String
createdAt: DateTime
lastModifiedAt: DateTime
priority: Int
images: [LocalizedImage!]
imageVariants(
input: TransformationsInput!
): [ImageVariant!]
}

Fields

MediaImage.id ● ID! non-null scalar

Media global unique identifier

MediaImage.productId ● ID scalar

Unique product identifier that the media relates to

MediaImage.clusterId ● ID scalar

Unique cluster identifier that the media relates to

MediaImage.categoryId ● ID scalar

Unique category identifier that the media relates to

MediaImage.sparePartsMachineId ● ID scalar

Unique sparePartsMachine identifier that the media relates to

MediaImage.alt ● [LocalizedString!]! non-null object

Media alt description that briefly explains the contents of the document.

MediaImage.alt.language ● String scalar

MediaImage.description ● [LocalizedString!]! non-null object

Media short description.

MediaImage.description.language ● String scalar

MediaImage.tags ● [LocalizedStringArray!]! non-null object

Media tags.

MediaImage.tags.language ● String scalar

MediaImage.type ● String scalar

Media type

MediaImage.createdAt ● DateTime scalar

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

MediaImage.lastModifiedAt ● DateTime scalar

The date and time (ISO 8601 format) when the media was last modified.

MediaImage.priority ● Int scalar

Media display priority [Lower value has higher priority] - default: 1000

MediaImage.images ● [LocalizedImage!] list object

List of image objects

MediaImage.imageVariants ● [ImageVariant!] list object

List of image variant objects

MediaImage.imageVariants.input ● TransformationsInput! non-null input

Returned By

mediaImage query ● mediaImageCreate mutation ● mediaImageUpdate mutation

Member Of

Media object ● PaginatedMediaImageResponse object