PromotionTranslatableContent
Represents promotion's original translatable fields and related translations.
Added in Saleor 3.17type 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 miscellaneousA 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