Skip to main content
Version: 3.x

ProductVariantTranslatableContent

Represents product variant's original translatable fields and related translations.

type ProductVariantTranslatableContent implements Node {
id: ID!
name: String!
translation(languageCode: LanguageCodeEnum!): ProductVariantTranslation
productVariant: ProductVariant @deprecated
attributeValues: [AttributeValueTranslatableContent!]!
}

Fields

ProductVariantTranslatableContent.id ● ID! non-null scalar

The ID of the product variant translatable content.

ProductVariantTranslatableContent.name ● String! non-null scalar

Name of the product variant to translate.

ProductVariantTranslatableContent.translation ● ProductVariantTranslation object

Returns translated product variant fields for the given language code.

ProductVariantTranslatableContent.translation.languageCode ● LanguageCodeEnum! non-null enum

A language code to return the translation for product variant.

ProductVariantTranslatableContent.productVariant ● ProductVariant deprecated object

DEPRECATED

This field will be removed in Saleor 4.0. Get model fields from the root level queries.

Represents a version of a product such as different size or color.

ProductVariantTranslatableContent.attributeValues ● [AttributeValueTranslatableContent!]! non-null object

List of product variant attribute values that can be translated.

Interfaces

Node interface

An object with an ID

Implemented by

TranslatableItem union


Was this page helpful?