Skip to main content
Version: 3.x

PromotionRuleTranslatableContent

Represents promotion rule's original translatable fields and related translations.

Added in Saleor 3.17
type 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 enum

A language code to return the translation for promotion rule.

Interfaces

Node interface

An object with an ID

Implemented by

TranslatableItem union


Was this page helpful?