Skip to main content

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​

id ● ID!​

The ID of the collection translatable content.

collectionId ● ID!​

The ID of the collection to translate.

seoTitle ● String​

SEO title to translate.

seoDescription ● String​

SEO description to translate.

slug ● String​

Slug to translate

Added in Saleor 3.21

name ● String!​

Collection's name to translate.

description ● JSONString​

Collection's description to translate.

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

translation ● CollectionTranslation​

Returns translated collection fields for the given language code.

languageCode ● LanguageCodeEnum!​

A language code to return the translation for collection.

Show deprecatedHide deprecated

descriptionJson ● JSONString​

DEPRECATED

Use the description field instead.

Description of the collection.

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

collection ● Collection​

DEPRECATED

Get model fields from the root level queries.

Represents a collection of products.

Interfaces​

Node​

An object with an ID

Member Of​

CollectionTranslation object

Implemented By​

TranslatableItem union