collections
List of the shop's collections.
collections(
filter: CollectionFilterInput
sortBy: CollectionSortingInput
channel: String
before: String
after: String
first: Int
last: Int
): CollectionCountableConnection
Arguments
collections.filter ● CollectionFilterInput input
Filtering options for collections.
collections.sortBy ● CollectionSortingInput input
Sort collections.
collections.channel ● String scalar
Slug of a channel for which the data should be returned.
collections.before ● String scalar
Return the elements in the list that come before the specified cursor.
collections.after ● String scalar
Return the elements in the list that come after the specified cursor.
collections.first ● Int scalar
Retrieve the first n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.
collections.last ● Int scalar
Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.
Type
CollectionCountableConnection object
Was this page helpful?