Skip to main content

collections

List all collections with optional filtering and sorting

collections(
filter: CollectionFilterInput
sortBy: CollectionSortingInput
before: String
after: String
first: Int
last: Int
): CollectionCountableConnection!

Arguments​

collections.filter ● CollectionFilterInput input​

collections.sortBy ● CollectionSortingInput input​

collections.before ● String scalar​

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

collections.after ● String scalar​

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

collections.first ● Int scalar​

Returns the first n items from the list.

collections.last ● Int scalar​

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

Type​

CollectionCountableConnection object​

A connection to a list of items.

Was this page helpful?