Skip to main content

CategoryTranslatableContent

Represents category original translatable fields and related translations.

type CategoryTranslatableContent implements Node {
id: ID!
categoryId: 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 miscellaneous

The ID of the category translatable content.

CategoryTranslatableContent.categoryId ● ID! non-null scalar miscellaneous

The ID of the category to translate.

Added in Saleor 3.14

CategoryTranslatableContent.seoTitle ● String scalar miscellaneous

SEO title to translate.

CategoryTranslatableContent.seoDescription ● String scalar miscellaneous

SEO description to translate.

CategoryTranslatableContent.name ● String! non-null scalar miscellaneous

Name of the category translatable content.

CategoryTranslatableContent.description ● JSONString scalar miscellaneous

Category description to translate.

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

CategoryTranslatableContent.descriptionJson ● JSONString deprecated scalar miscellaneous

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 products

Returns translated category fields for the given language code.

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

A language code to return the translation for category.

CategoryTranslatableContent.category ● Category deprecated object products

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 miscellaneous

An object with an ID

Member Of

CategoryTranslation object

Implemented By

TranslatableItem union