Skip to main content

UpdateMediaImageInput

Input for updating an existing image media item with modified metadata or replacement file

input UpdateMediaImageInput {
productId: ID
clusterId: ID
categoryId: ID
sparePartsMachineId: ID
alt: [MediaLocalizedStringInput!]
description: [MediaLocalizedStringInput!]
tags: [MediaLocalizedStringArrayInput!]
priority: Int = 1000
mediaId: String!
uploadImage: [UploadFileInput!]
}

Fields​

UpdateMediaImageInput.productId ● ID scalar​

Associates the media item with a specific product

UpdateMediaImageInput.clusterId ● ID scalar​

Associates the media item with a specific cluster

UpdateMediaImageInput.categoryId ● ID scalar​

Associates the media item with a specific product category

UpdateMediaImageInput.sparePartsMachineId ● ID scalar​

Associates the media item with a specific spare parts machine

UpdateMediaImageInput.alt ● [MediaLocalizedStringInput!] list input​

Alternative text descriptions for accessibility and SEO purposes.

Provides brief, descriptive text that explains the media content for screen readers and when the media cannot be displayed. Each entry supports different languages.

UpdateMediaImageInput.description ● [MediaLocalizedStringInput!] list input​

Detailed descriptions of the media content.

Provides comprehensive information about what the media shows or contains. Used for search indexing and user information. Each entry supports different languages.

UpdateMediaImageInput.tags ● [MediaLocalizedStringArrayInput!] list input​

Searchable tags for categorizing and filtering media content.

Keywords that help organize and discover media items. Used for search functionality and content organization. Each entry supports different languages with multiple tag values.

UpdateMediaImageInput.priority ● Int scalar​

Display order priority for the media item.

Lower numeric values indicate higher priority and will be displayed first. Used for controlling the order of media items in galleries and listings.

UpdateMediaImageInput.mediaId ● String! non-null scalar​

Unique identifier of the image to update.

Must be a valid media ID representing an existing image in the system. All updates will be applied to this specific image.

UpdateMediaImageInput.uploadImage ● [UploadFileInput!] list input​

Optional replacement image file(s). One or more language variants. When provided, replaces the existing image file(s) while preserving metadata and associations.

Member Of​

mediaImageUpdate mutation