categories
List of the shop's categories.
categories(
filter: CategoryFilterInput
where: CategoryWhereInput
sortBy: CategorySortingInput
level: Int
before: String
after: String
first: Int
last: Int
): CategoryCountableConnection
Arguments
categories.filter ● CategoryFilterInput input products
Filtering options for categories.
categories.where ● CategoryWhereInput input products
Where filtering options.
Added in Saleor 3.14This API is currently in Feature Preview and can be subject to changes at later point.
categories.sortBy ● CategorySortingInput input products
Sort categories.
categories.level ● Int scalar miscellaneous
Filter categories by the nesting level in the category tree.
categories.before ● String scalar miscellaneous
Return the elements in the list that come before the specified cursor.
categories.after ● String scalar miscellaneous
Return the elements in the list that come after the specified cursor.
categories.first ● Int scalar miscellaneous
Retrieve the first n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.
categories.last ● Int scalar miscellaneous
Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.