Home > @vsf-enterprise/commercetools-types > Category

# Category type

Signature:

export declare type Category = Versioned & {
    __typename?: 'Category';
    id: Scalars['String'];
    key?: Maybe<Scalars['String']>;
    version: Scalars['Long'];
    name?: Maybe<Scalars['String']>;
    nameAllLocales: Array<LocalizedString>;
    description?: Maybe<Scalars['String']>;
    descriptionAllLocales?: Maybe<Array<LocalizedString>>;
    slug?: Maybe<Scalars['String']>;
    slugAllLocales: Array<LocalizedString>;
    ancestorsRef: Array<Reference>;
    ancestors: Array<Category>;
    parentRef?: Maybe<Reference>;
    parent?: Maybe<Category>;
    orderHint: Scalars['String'];
    externalId?: Maybe<Scalars['String']>;
    metaTitle?: Maybe<Scalars['String']>;
    metaTitleAllLocales?: Maybe<Array<LocalizedString>>;
    metaKeywords?: Maybe<Scalars['String']>;
    metaKeywordsAllLocales?: Maybe<Array<LocalizedString>>;
    metaDescription?: Maybe<Scalars['String']>;
    metaDescriptionAllLocales?: Maybe<Array<LocalizedString>>;
    stagedProductCount: Scalars['Int'];
    childCount: Scalars['Int'];
    children?: Maybe<Array<Category>>;
    createdAt: Scalars['DateTime'];
    lastModifiedAt: Scalars['DateTime'];
    assets: Array<Asset>;
    custom?: Maybe<CustomFieldsType>;
    createdBy?: Maybe<Initiator>;
    lastModifiedBy?: Maybe<Initiator>;
};

References: Versioned, Scalars, Maybe, LocalizedString, Reference, Category, Asset, CustomFieldsType, Initiator