Skip to main content

AttributeTranslatableContent

Represents attribute's original translatable fields and related translations.

type AttributeTranslatableContent implements Node {
id: ID!
attributeId: ID!
name: String!
translation(languageCode: LanguageCodeEnum!): AttributeTranslation
attribute: Attribute @deprecated
}

Fields

AttributeTranslatableContent.id ● ID! non-null scalar miscellaneous

The ID of the attribute translatable content.

AttributeTranslatableContent.attributeId ● ID! non-null scalar miscellaneous

The ID of the attribute to translate.

Added in Saleor 3.14

AttributeTranslatableContent.name ● String! non-null scalar miscellaneous

Name of the attribute to translate.

AttributeTranslatableContent.translation ● AttributeTranslation object attributes

Returns translated attribute fields for the given language code.

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

A language code to return the translation for attribute.

AttributeTranslatableContent.attribute ● Attribute deprecated object attributes

DEPRECATED

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

Custom attribute of a product.

Interfaces

Node interface miscellaneous

An object with an ID

Member Of

AttributeTranslation object ● AttributeValueTranslatableContent object

Implemented By

TranslatableItem union