Skip to main content

ProductVariantTranslatableContent Object

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

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

Fields

ProductVariantTranslatableContent.id ● ID! non-null scalar miscellaneous

The ID of the product variant translatable content.

ProductVariantTranslatableContent.productVariantId ● ID! non-null scalar miscellaneous

The ID of the product variant to translate.

ProductVariantTranslatableContent.name ● String! non-null scalar miscellaneous

Name of the product variant to translate.

ProductVariantTranslatableContent.translation ● ProductVariantTranslation object products

Returns translated product variant fields for the given language code.

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

A language code to return the translation for product variant.

ProductVariantTranslatableContent.productVariant ● ProductVariant deprecated object products

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 attributes

List of product variant attribute values that can be translated.

Interfaces

Node interface miscellaneous

An object with an ID

Member Of

ProductVariantTranslation object

Implemented By

TranslatableItem union