Skip to main content
Version: 3.x

CategoryTranslatableContent

Represents category original translatable fields and related translations.

type CategoryTranslatableContent implements Node {
id: ID!
seoTitle: String
seoDescription: String
name: String!
description: JSONString
descriptionJson: JSONString @deprecated
translation(languageCode: LanguageCodeEnum!): CategoryTranslation
category: Category @deprecated
}

Fields

CategoryTranslatableContent.id ● ID! non-null scalar

The ID of the category translatable content.

CategoryTranslatableContent.seoTitle ● String scalar

SEO title to translate.

CategoryTranslatableContent.seoDescription ● String scalar

SEO description to translate.

CategoryTranslatableContent.name ● String! non-null scalar

Name of the category translatable content.

CategoryTranslatableContent.description ● JSONString scalar

Category description to translate.

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

CategoryTranslatableContent.descriptionJson ● JSONString deprecated scalar

DEPRECATED

This field will be removed in Saleor 4.0. Use the description field instead.

Description of the category.

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

CategoryTranslatableContent.translation ● CategoryTranslation object

Returns translated category fields for the given language code.

CategoryTranslatableContent.translation.languageCode ● LanguageCodeEnum! non-null enum

A language code to return the translation for category.

CategoryTranslatableContent.category ● Category deprecated object

DEPRECATED

This field will be removed in Saleor 4.0. Get model fields from the root level queries.

Represents a single category of products.

Interfaces

Node interface

An object with an ID

Implemented by

TranslatableItem union


Was this page helpful?