AttributeValueTranslatableContent
Represents attribute value's original translatable fields and related translations.
type AttributeValueTranslatableContent implements Node {
id: ID!
name: String!
richText: JSONString
plainText: String
translation(languageCode: LanguageCodeEnum!): AttributeValueTranslation
attributeValue: AttributeValue @deprecated
attribute: AttributeTranslatableContent
}
Fields
AttributeValueTranslatableContent.id ● ID! non-null scalar
The ID of the attribute value translatable content.
AttributeValueTranslatableContent.name ● String! non-null scalar
Name of the attribute value to translate.
AttributeValueTranslatableContent.richText ● JSONString scalar
Attribute value.
Rich text format. For reference see https://editorjs.io/
AttributeValueTranslatableContent.plainText ● String scalar
Attribute plain text value.
AttributeValueTranslatableContent.translation ● AttributeValueTranslation object
Returns translated attribute value fields for the given language code.
AttributeValueTranslatableContent.translation.languageCode●LanguageCodeEnum!non-null enumA language code to return the translation for attribute value.
AttributeValueTranslatableContent.attributeValue ● AttributeValue deprecated object
DEPRECATEDThis field will be removed in Saleor 4.0. Get model fields from the root level queries.
Represents a value of an attribute.
AttributeValueTranslatableContent.attribute ● AttributeTranslatableContent object
Associated attribute that can be translated.
Added in Saleor 3.9