Skip to main content

attributeTranslate Mutation

Creates/updates translations for an attribute.

Requires the MANAGE_TRANSLATIONSpermission.
attributeTranslate(
id: ID!
input: NameTranslationInput!
languageCode: LanguageCodeEnum!
): AttributeTranslate
Details
type AttributeTranslate {
translationErrors: [TranslationError!]! @deprecated
errors: [TranslationError!]!
attribute: Attribute
}

Arguments​

id ● ID!​

Attribute ID or AttributeTranslatableContent ID.

input ● NameTranslationInput!​

Fields required to update attribute translations.

languageCode ● LanguageCodeEnum!​

Translation language code.

Type​

AttributeTranslate​

Creates/updates translations for an attribute.

Requires the MANAGE_TRANSLATIONSpermission.