Skip to main content
Version: 3.x

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 enum

A language code to return the translation for attribute.

AttributeTranslatableContent.attribute ● Attribute deprecated object

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

An object with an ID

Member of

AttributeValueTranslatableContent object

Implemented by

TranslatableItem union


Was this page helpful?