PromotionRuleTranslatableContent
Represents promotion rule's original translatable fields and related translations.
Added in Saleor 3.17type PromotionRuleTranslatableContent implements Node {
id: ID!
name: String
description: JSONString
translation(languageCode: LanguageCodeEnum!): PromotionRuleTranslation
}
Fields
PromotionRuleTranslatableContent.id
● ID!
non-null scalar
ID of the promotion rule translatable content.
PromotionRuleTranslatableContent.name
● String
scalar
Name of the promotion rule.
PromotionRuleTranslatableContent.description
● JSONString
scalar
Description of the promotion rule.
Rich text format. For reference see https://editorjs.io/
PromotionRuleTranslatableContent.translation
● PromotionRuleTranslation
object
Returns translated promotion rule fields for the given language code.
PromotionRuleTranslatableContent.translation.languageCode
●LanguageCodeEnum!
non-null enumA language code to return the translation for promotion rule.
Interfaces
Node
interface
An object with an ID
Implemented by
TranslatableItem
union