Skip to main content

categories

List all categories with optional filtering and sorting

categories(
filter: CategoryFilterInput
sortBy: CategorySortingInput
level: Int
before: String
after: String
first: Int
last: Int
): CategoryCountableConnection!

Arguments

categories.filter ● CategoryFilterInput input

categories.sortBy ● CategorySortingInput input

categories.level ● Int scalar

categories.before ● String scalar

Returns the items in the list that come before the specified cursor.

categories.after ● String scalar

Returns the items in the list that come after the specified cursor.

categories.first ● Int scalar

Returns the first n items from the list.

categories.last ● Int scalar

Returns the items in the list that come after the specified cursor.

Type

CategoryCountableConnection object

A connection to a list of items.

Was this page helpful?