Skip to main content

ProductCategorySearchInput

No description

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

Fields

ProductCategorySearchInput.name ● String scalar

Find categories by name

ProductCategorySearchInput.language ● String scalar

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

ProductCategorySearchInput.slug ● [String!] list scalar

Find categories by one or more slugs

ProductCategorySearchInput.parentCategoryId ● [Int!] list scalar

Find categories by one or more parentCategoryIds

ProductCategorySearchInput.page ● Int scalar

The page number to return

ProductCategorySearchInput.offset ● Int scalar

The amount of categories return per page

ProductCategorySearchInput.sortField ● CategorySortableFields enum

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

ProductCategorySearchInput.sortOrder ● SortOrder! non-null enum

Sort ordering ['desc' or 'asc']