Skip to main content

promotionTranslate Mutation

Creates/updates translations for a promotion.

Requires MANAGE_TRANSLATIONSpermission.
promotionTranslate(
id: ID!
input: PromotionTranslationInput!
languageCode: LanguageCodeEnum!
): PromotionTranslate

Arguments

promotionTranslate.id ● ID! non-null scalar miscellaneous

Promotion ID or PromotionTranslatableContent ID.

promotionTranslate.input ● PromotionTranslationInput! non-null input miscellaneous

Fields required to update promotion translations.

promotionTranslate.languageCode ● LanguageCodeEnum! non-null enum miscellaneous

Translation language code.

Type

PromotionTranslate object discounts

Creates/updates translations for a promotion.

Requires MANAGE_TRANSLATIONSpermission.