Skip to main content
Version: 3.x

PromotionTranslatableContent

Represents promotion's original translatable fields and related translations.

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

Fields

PromotionTranslatableContent.id ● ID! non-null scalar

ID of the promotion translatable content.

PromotionTranslatableContent.name ● String! non-null scalar

Name of the promotion.

PromotionTranslatableContent.description ● JSONString scalar

Description of the promotion.

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

PromotionTranslatableContent.translation ● PromotionTranslation object

Returns translated promotion fields for the given language code.

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

A language code to return the translation for promotion.

Interfaces

Node interface

An object with an ID

Implemented by

TranslatableItem union


Was this page helpful?