PromotionRuleTranslatableContent Object
Represents promotion rule’s original translatable fields and related translations.
type PromotionRuleTranslatableContent implements Node {
id: ID!
promotionRuleId: ID!
name: String
description: JSONString
translation(languageCode: LanguageCodeEnum!): PromotionRuleTranslation
}
Interfaces
Fields
id
id · ID!
ID of the promotion rule translatable content.
promotionRuleId
promotionRuleId · ID!
ID of the promotion rule to translate.
name
name · String
Name of the promotion rule.
description
description · JSONString
Description of the promotion rule.
Rich text format. For reference see https://editorjs.io/
translation
translation · PromotionRuleTranslation
Returns translated promotion rule fields for the given language code.
languageCode
languageCode · LanguageCodeEnum!
A language code to return the translation for promotion rule.
Used by
Schema: Saleor 3.23.43. Download SDL.