items

This query loads the items within a collection.

General Pattern

{
  items (offset: Int limit: Int statuses: MarketplaceCollectionItemStatus!){
    field_1
    field_1{
      nested_field_1
      ...
    }
  }
}

Sample query

mutation{
  createMarketplaceCollection(marketplaceID:"c5ac4f84-b78b-4cb7-a24f-7f0c38da0eb2"data:{
    name:"Collect_2"
    description:"test_collect"
    startDate:"2022-03-11T15:51:02Z"
    endDate:"2022-03-28T15:51:02Z"
    status:Active
  }){
    items(offset:0 limit:50 statuses:Active){
     id 
      marketplaceTokenId
      collectionId
      saleType
      name
      slug
      status
      details{
        ... on MarketplaceAuctionLot{
          id
          lotNumber
          marketplaceCollectionItemId
          startingBid
          reservePrice
          reserveMet
          previewDate
          startDate
          status
        }
      }
    }
  }
}

Arguments

Name

Type

Description

Required

offset

Integer

The minimum amount of the displayed results.

Yes

limit

Integer

The maximum amount of the displayed results.

Yes

statuses

Enum

Contains information from MarketplaceCollectionItemStatus

Yes

Fields

Name

Type

Description

MarketplaceCollectionItem

Object

Contains information from MarketplaceCollectionItem