Skip to main content

productVariantTranslate Mutation

Creates/updates translations for a product variant.

Requires MANAGE_TRANSLATIONSpermission.
productVariantTranslate(
id: ID!
input: NameTranslationInput!
languageCode: LanguageCodeEnum!
): ProductVariantTranslate

Arguments

productVariantTranslate.id ● ID! non-null scalar miscellaneous

ProductVariant ID or ProductVariantTranslatableContent ID.

productVariantTranslate.input ● NameTranslationInput! non-null input miscellaneous

Fields required to update product variant translations.

productVariantTranslate.languageCode ● LanguageCodeEnum! non-null enum miscellaneous

Translation language code.

Type

ProductVariantTranslate object products

Creates/updates translations for a product variant.

Requires MANAGE_TRANSLATIONSpermission.