Skip to main content

categories

List of the shop's categories.

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

Arguments

categories.filter ● CategoryFilterInput input

Filtering options for categories.

categories.sortBy ● CategorySortingInput input

Sort categories.

categories.level ● Int scalar

Filter categories by the nesting level in the category tree.

categories.before ● String scalar

Return the elements in the list that come before the specified cursor.

categories.after ● String scalar

Return the elements in the list that come after the specified cursor.

categories.first ● Int scalar

Return the first n elements from the list.

categories.last ● Int scalar

Return the last n elements from the list.

Type

CategoryCountableConnection object

Was this page helpful?