AttributeTranslatableContent
Represents attribute's original translatable fields and related translations.
type AttributeTranslatableContent implements Node {
id: ID!
name: String!
translation(languageCode: LanguageCodeEnum!): AttributeTranslation
attribute: Attribute @deprecated
}
Fields
AttributeTranslatableContent.id
● ID!
non-null scalar
The ID of the attribute.
AttributeTranslatableContent.name
● String!
non-null scalar
Name of the attribute to translate.
AttributeTranslatableContent.translation
● AttributeTranslation
object
Returns translated attribute fields for the given language code.
AttributeTranslatableContent.translation.languageCode
●LanguageCodeEnum!
non-null enumA language code to return the translation for attribute.
AttributeTranslatableContent.attribute
● Attribute
deprecated object
DEPRECATEDThis field will be removed in Saleor 4.0. Get model fields from the root level queries.
Custom attribute of a product.
Interfaces
Node
interface
An object with an ID
Member of
AttributeValueTranslatableContent
object
Implemented by
TranslatableItem
union