Skip to main content

CategoryTranslatableContent Object

Represents category original translatable fields and related translations.

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

Fields​

id ● ID!​

The ID of the category translatable content.

categoryId ● ID!​

The ID of the category 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!​

Name of the category translatable content.

description ● JSONString​

Category description to translate.

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

translation ● CategoryTranslation​

Returns translated category fields for the given language code.

languageCode ● LanguageCodeEnum!​

A language code to return the translation for category.

Show deprecatedHide deprecated

descriptionJson ● JSONString​

DEPRECATED

Use the description field instead.

Description of the category.

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

category ● Category​

DEPRECATED

Get model fields from the root level queries.

Represents a single category of products.

Interfaces​

Node​

An object with an ID

Member Of​

CategoryTranslation object

Implemented By​

TranslatableItem union