Skip to main content

ClusterCategorySearchInput

No description

input ClusterCategorySearchInput {
name: String
language: String
slug: [String!]
parentCategoryId: [Int!]
page: Int
offset: Int
sortField: CategorySortableFields
sortOrder: SortOrder!
}

Fields

ClusterCategorySearchInput.name ● String scalar

Find categories by name

ClusterCategorySearchInput.language ● String scalar

The language to use when searching categories by name or slug. When omitted the categories default language is used

ClusterCategorySearchInput.slug ● [String!] list scalar

Find categories by one or more slugs

ClusterCategorySearchInput.parentCategoryId ● [Int!] list scalar

Find categories by one or more parentCategoryIds

ClusterCategorySearchInput.page ● Int scalar

The page number to return

ClusterCategorySearchInput.offset ● Int scalar

The amount of categories return per page

ClusterCategorySearchInput.sortField ● CategorySortableFields enum

Available sortable fields One of: [name, dateCreated, entityDateChanged]

ClusterCategorySearchInput.sortOrder ● SortOrder! non-null enum

Sort ordering ['desc' or 'asc']