Skip to main content

Interface: CategorySearchInput

Defined in: type/CategorySearchInput.ts:7

Input object for CategorySearchInput

Properties

categoryId?

optional categoryId?: number[]

Defined in: type/CategorySearchInput.ts:15

Find categories by one or more categoryIds


hidden?

optional hidden?: YesNo

Defined in: type/CategorySearchInput.ts:19

Find categories by their hidden status


language?

optional language?: string

Defined in: type/CategorySearchInput.ts:11

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


name?

optional name?: string

Defined in: type/CategorySearchInput.ts:9

Find categories by name


offset?

optional offset?: number

Defined in: type/CategorySearchInput.ts:23

The amount of categories return per page


page?

optional page?: number

Defined in: type/CategorySearchInput.ts:21

The page number to return


parentCategoryId?

optional parentCategoryId?: number[]

Defined in: type/CategorySearchInput.ts:17

Find categories by one or more parentCategoryIds


slug?

optional slug?: string[]

Defined in: type/CategorySearchInput.ts:13

Find categories by one or more slugs


sortField?

optional sortField?: CategorySortableFields

Defined in: type/CategorySearchInput.ts:25

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


sortOrder

sortOrder: SortOrder

Defined in: type/CategorySearchInput.ts:27

Sort ordering ['desc' or 'asc']