CollectionTranslatableContent Object
Represents collection's original translatable fields and related translations.
type CollectionTranslatableContent implements Node {
id: ID!
collectionId: ID!
seoTitle: String
seoDescription: String
slug: String
name: String!
description: JSONString
descriptionJson: JSONString @deprecated
translation(languageCode: LanguageCodeEnum!): CollectionTranslation
collection: Collection @deprecated
}
Fields
CollectionTranslatableContent.id
● ID!
non-null scalar miscellaneous
The ID of the collection translatable content.
CollectionTranslatableContent.collectionId
● ID!
non-null scalar miscellaneous
The ID of the collection to translate.
CollectionTranslatableContent.seoTitle
● String
scalar miscellaneous
SEO title to translate.
CollectionTranslatableContent.seoDescription
● String
scalar miscellaneous
SEO description to translate.
CollectionTranslatableContent.slug
● String
scalar miscellaneous
Slug to translate
Added in Saleor 3.21CollectionTranslatableContent.name
● String!
non-null scalar miscellaneous
Collection's name to translate.
CollectionTranslatableContent.description
● JSONString
scalar miscellaneous
Collection's description to translate.
Rich text format. For reference see https://editorjs.io/
CollectionTranslatableContent.descriptionJson
● JSONString
deprecated scalar miscellaneous
This field will be removed in Saleor 4.0. Use the description
field instead.
Description of the collection.
Rich text format. For reference see https://editorjs.io/
CollectionTranslatableContent.translation
● CollectionTranslation
object products
Returns translated collection fields for the given language code.
CollectionTranslatableContent.translation.languageCode
● LanguageCodeEnum!
non-null enum miscellaneous
A language code to return the translation for collection.
CollectionTranslatableContent.collection
● Collection
deprecated object products
This field will be removed in Saleor 4.0. Get model fields from the root level queries.
Represents a collection of products.
Interfaces
Node
interface miscellaneous
An object with an ID
Member Of
CollectionTranslation
object
Implemented By
TranslatableItem
union