Skip to main content

PromotionRuleTranslation

Represents promotion rule translations.

Added in Saleor 3.17
type PromotionRuleTranslation implements Node {
id: ID!
language: LanguageDisplay!
name: String
description: JSONString
translatableContent: PromotionRuleTranslatableContent
}

Fields

PromotionRuleTranslation.id ● ID! non-null scalar miscellaneous

ID of the promotion rule translation.

PromotionRuleTranslation.language ● LanguageDisplay! non-null object miscellaneous

Translation language.

PromotionRuleTranslation.name ● String scalar miscellaneous

Translated name of the promotion rule.

PromotionRuleTranslation.description ● JSONString scalar miscellaneous

Translated description of the promotion rule.

Rich text format. For reference see https://editorjs.io/

PromotionRuleTranslation.translatableContent ● PromotionRuleTranslatableContent object discounts

Represents the promotion rule fields to translate.

Added in Saleor 3.14

Interfaces

Node interface miscellaneous

An object with an ID

Member Of

PromotionRule object ● PromotionRuleTranslatableContent object

Implemented By

TranslationTypes union