promotionRuleTranslate
Creates/updates translations for a promotion rule.
Added in Saleor 3.17promotionRuleTranslate(
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.
Added in Saleor 3.17