ProductMediaTranslatableContent Object
Represents product media's original translatable fields and related translations.
Added in Saleor 3.23type ProductMediaTranslatableContent implements Node {
id: ID!
productMediaId: ID!
alt: String!
translation(languageCode: LanguageCodeEnum!): ProductMediaTranslation
productMedia: ProductMedia
}
Fields
id ● ID!
The ID of the product media translatable content.
productMediaId ● ID!
The ID of the product media to translate.
alt ● String!
Product media alt text to translate.
translation ● ProductMediaTranslation
Returns translated product media fields for the given language code.
languageCode ● LanguageCodeEnum!
A language code to return the translation for product media.
productMedia ● ProductMedia
Represents a product media.
Interfaces
Node
An object with an ID
Member Of
ProductMediaTranslation object
Implemented By
TranslatableItem union