SaleTranslatableContent
No description
type SaleTranslatableContent implements Node {
id: ID!
name: String!
translation(languageCode: LanguageCodeEnum!): SaleTranslation
sale: Sale @deprecated
}
Fields
SaleTranslatableContent.id
● ID!
non-null scalar
SaleTranslatableContent.name
● String!
non-null scalar
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
Was this page helpful?