Skip to main content

PromotionTranslatableContent Object

Represents promotion's original translatable fields and related translations.

type PromotionTranslatableContent implements Node {
id: ID!
promotionId: ID!
name: String!
description: JSONString
translation(languageCode: LanguageCodeEnum!): PromotionTranslation
}

Fields

id ● ID!

ID of the promotion translatable content.

promotionId ● ID!

ID of the promotion to translate.

name ● String!

Name of the promotion.

description ● JSONString

Description of the promotion.

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

translation ● PromotionTranslation

Returns translated promotion fields for the given language code.

languageCode ● LanguageCodeEnum!

A language code to return the translation for promotion.

Interfaces

Node

An object with an ID

Member Of

PromotionTranslation object

Implemented By

TranslatableItem union