Skip to main content

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
}

Fields

id ● ID!

ID of the promotion rule translatable content.

promotionRuleId ● ID!

ID of the promotion rule to translate.

name ● String

Name of the promotion rule.

description ● JSONString

Description of the promotion rule.

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

translation ● PromotionRuleTranslation

Returns translated promotion rule fields for the given language code.

languageCode ● LanguageCodeEnum!

A language code to return the translation for promotion rule.

Interfaces

Node

An object with an ID

Member Of

PromotionRuleTranslation object

Implemented By

TranslatableItem union