Skip to main content

promotionRuleTranslate Mutation

Creates/updates translations for a promotion rule.

Requires MANAGE_TRANSLATIONSpermission.
promotionRuleTranslate(
id: ID!
input: PromotionRuleTranslationInput!
languageCode: LanguageCodeEnum!
): PromotionRuleTranslate

Arguments

promotionRuleTranslate.id ● ID! non-null scalar miscellaneous

PromotionRule ID or PromotionRuleTranslatableContent ID.

promotionRuleTranslate.input ● PromotionRuleTranslationInput! non-null input miscellaneous

Fields required to update promotion rule translations.

promotionRuleTranslate.languageCode ● LanguageCodeEnum! non-null enum miscellaneous

Translation language code.

Type

PromotionRuleTranslate object discounts

Creates/updates translations for a promotion rule.

Requires MANAGE_TRANSLATIONSpermission.