SaleTranslatableContent
Represents sale's original translatable fields and related translations.
DEPRECATED: this type will be removed in Saleor 4.0. Use PromotionTranslatableContent
instead.
type SaleTranslatableContent implements Node {
id: ID!
name: String!
translation(languageCode: LanguageCodeEnum!): SaleTranslation
sale: Sale @deprecated
}
Fields
SaleTranslatableContent.id
● ID!
non-null scalar
The ID of the sale translatable content.
SaleTranslatableContent.name
● String!
non-null scalar
Name of the sale to translate.
SaleTranslatableContent.translation
● SaleTranslation
object
Returns translated sale fields for the given language code.
SaleTranslatableContent.translation.languageCode
●LanguageCodeEnum!
non-null enumA language code to return the translation for sale.
SaleTranslatableContent.sale
● Sale
deprecated object
DEPRECATEDThis field will be removed in Saleor 4.0. Get model fields from the root level queries.
Sales allow creating discounts for categories, collections or products and are visible to all the customers.
Interfaces
Node
interface
An object with an ID
Implemented by
TranslatableItem
union