Skip to main content

CategorySortableFields

Available fields for ordering categories when listing or searching the catalogue tree.

Use together with a sort order argument to control the direction of the ordering.

enum CategorySortableFields {
name
createdAt
lastModifiedAt
categoryOrder
dateCreated @deprecated
dateChanged @deprecated
}

Values

CategorySortableFields.name

Orders results alphabetically by the localized category name.

CategorySortableFields.createdAt

Orders results by the date the category was created in the catalogue.

CategorySortableFields.lastModifiedAt

Orders results by the date the category was last modified in the catalogue.

CategorySortableFields.categoryOrder

Orders results by the merchandiser-controlled sort order within the parent category.

Show deprecated

Member Of

CategorySearchInput input ● ClusterCategorySearchInput input ● ProductCategorySearchInput input