Skip to main content

Interface: CreateCategoryInput

Defined in: type/CreateCategoryInput.ts:7

Input object for CreateCategoryInput

Properties

autoGenerateSlugs?

optional autoGenerateSlugs?: boolean

Defined in: type/CreateCategoryInput.ts:34

Generates missing slugs from the localized names when set; existing slugs are preserved.

When enabled, slugs are regenerated from the localized names for any language whose slug is not explicitly supplied.


descriptions?

optional descriptions?: LocalizedStringInput[]

Defined in: type/CreateCategoryInput.ts:24

Localized long-form descriptions shown on category landing surfaces.


hidden

hidden: YesNo

Defined in: type/CreateCategoryInput.ts:19

Category hidden status, defaults to N


metadataCanonicalUrls?

optional metadataCanonicalUrls?: LocalizedStringInput[]

Defined in: type/CreateCategoryInput.ts:17

[SEO] Metadata canonical urls in different languages.


metadataDescriptions?

optional metadataDescriptions?: LocalizedStringInput[]

Defined in: type/CreateCategoryInput.ts:13

[SEO] Metadata description in different languages.


metadataKeywords?

optional metadataKeywords?: LocalizedStringInput[]

Defined in: type/CreateCategoryInput.ts:15

[SEO] Metadata keywords in different languages.


metadataTitles?

optional metadataTitles?: LocalizedStringInput[]

Defined in: type/CreateCategoryInput.ts:11

[SEO] Metadata title in different languages.


names?

optional names?: LocalizedStringInput[]

Defined in: type/CreateCategoryInput.ts:22

Localized names shown to end users in catalog and navigation surfaces. The catalogue's default language must be present.


parent?

optional parent?: number

Defined in: type/CreateCategoryInput.ts:9

The category's parent Category when available


parentUuid?

optional parentUuid?: string

Defined in: type/CreateCategoryInput.ts:30

Globally unique identifier of the parent category. Omitted for root categories.


shortDescriptions?

optional shortDescriptions?: LocalizedStringInput[]

Defined in: type/CreateCategoryInput.ts:26

Localized short descriptions surfaced in listings and tiles.


slugs?

optional slugs?: LocalizedStringInput[]

Defined in: type/CreateCategoryInput.ts:28

URL-friendly identifiers, one per language, used in human-readable links.


sources?

optional sources?: SourceInput[]

Defined in: type/CreateCategoryInput.ts:36

Pairs of external system names and the identifiers each system assigned to the record.