Skip to main content

CategorySearchInput

No description

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

Fields

CategorySearchInput.name ● String scalar

Find categories by name

CategorySearchInput.language ● String scalar

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

CategorySearchInput.slug ● [String!] list scalar

Find categories by one or more slugs

CategorySearchInput.categoryId ● [Int!] list scalar

Find categories by one or more categoryIds

CategorySearchInput.parentCategoryId ● [Int!] list scalar

Find categories by one or more parentCategoryIds

CategorySearchInput.page ● Int scalar

The page number to return

CategorySearchInput.offset ● Int scalar

The amount of categories return per page

CategorySearchInput.sortField ● CategorySortableFields enum

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

CategorySearchInput.sortOrder ● SortOrder! non-null enum

Sort ordering ['desc' or 'asc']

Member Of

categories query