Marketplace API / Queries

collections

Curated collections in the seller's display order. Paging is limited to the first 1,000 collections. The page that reaches that limit ends there and has hasNextPage: false. A page that starts at or after it fails with PAGE_OUT_OF_RANGE.

collections(
  after: String
  first: Int
  offset: Int
  where: CollectionWhereInput
): CollectionConnection!

Arguments

ArgumentTypeDescription
afterStringForward cursor. Mutually exclusive with offset.
firstIntMaximum number of collections to return. Defaults to 20. Values outside 1 through 100 are rejected.
offsetIntZero-based offset for page-based pagination. Providing it with after or using a negative value is rejected.
whereCollectionWhereInputFilters to apply.

Return type

CollectionConnection!