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

PromotionTranslatableContent.id ● ID! non-null scalar miscellaneous

ID of the promotion translatable content.

PromotionTranslatableContent.promotionId ● ID! non-null scalar miscellaneous

ID of the promotion to translate.

PromotionTranslatableContent.name ● String! non-null scalar miscellaneous

Name of the promotion.

PromotionTranslatableContent.description ● JSONString scalar miscellaneous

Description of the promotion.

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

PromotionTranslatableContent.translation ● PromotionTranslation object discounts

Returns translated promotion fields for the given language code.

PromotionTranslatableContent.translation.languageCode ● LanguageCodeEnum! non-null enum miscellaneous

A language code to return the translation for promotion.

Interfaces

Node interface miscellaneous

An object with an ID

Member Of

PromotionTranslation object

Implemented By

TranslatableItem union