interface CategoryDraft {
    assets?: AssetDraft[];
    custom?: CustomFieldsDraft;
    description?: LocalizedString;
    externalId?: string;
    key?: string;
    metaDescription?: LocalizedString;
    metaKeywords?: LocalizedString;
    metaTitle?: LocalizedString;
    name: LocalizedString;
    orderHint?: string;
    parent?: CategoryResourceIdentifier;
    slug: LocalizedString;
}

Properties

assets?: AssetDraft[]

Media related to the Category.

Custom Fields for the Category.

description?: LocalizedString

Description of the Category.

externalId?: string

Additional identifier for external systems like Customer Relationship Management (CRM) or Enterprise Resource Planning (ERP).

key?: string

User-defined unique identifier for the Category.

metaDescription?: LocalizedString

Description of the Category used by external search engines for improved search engine performance.

metaKeywords?: LocalizedString

Keywords related to the Category for improved search engine performance.

metaTitle?: LocalizedString

Name of the Category used by external search engines for improved search engine performance.

Name of the Category.

orderHint?: string

Decimal value between 0 and 1 used to order Categories that are on the same level in the Category tree. If not set, a random value will be assigned.

Parent Category of the Category. The parent can be set by its id or key.

User-defined identifier used as a deep-link URL to the related Category. A Category can have the same slug for different Locales, but it must be unique across the Project. Valid slugs must match the pattern ^[A-Za-z0-9_-]{2,256}+$.

Generated using TypeDoc