promotionRuleTranslate Mutation
Creates/updates translations for a promotion rule.
promotionRuleTranslate(id: ID!, input: PromotionRuleTranslationInput!, languageCode: LanguageCodeEnum!): PromotionRuleTranslate
Returns
Show return type
type PromotionRuleTranslate {
errors: [TranslationError!]!
promotionRule: PromotionRule
}Arguments
id
id · ID!
PromotionRule ID or PromotionRuleTranslatableContent ID.
input
input · PromotionRuleTranslationInput!
Fields required to update promotion rule translations.
languageCode
languageCode · LanguageCodeEnum!
Translation language code.
Schema: Saleor 3.23.43. Download SDL.