collectionItemById

This query loads the information of collection based on an ID.

General Pattern

{
  collectionItemById(id: UUID1!){
    id
    marketplaceTokenId
    collectionId
    saleType
    ...
  }
}

Sample Query

query{
  collectionItemById(id: "611c8e1f-0afa-4db8-b4f1-cf1b4f22bea3"){
    id
    marketplaceTokenId
    collectionId
    saleType
    name
    slug
  }
}

Sample Response

{
  "data": {
    "collectionItemById": {
      "id": "611c8e1f-0afa-4db8-b4f1-cf1b4f22bea3",
      "marketplaceTokenId": "c305ead1-7aa9-46c6-9361-88f2240f1447",
      "collectionId": "b53a4163-ffce-455b-a72e-1a2106c90fbc",
      "saleType": "BuyNow",
      "name": "pic",
      "slug": "pic"
    }
  }
}

Arguments

NameTypeDescriptionRequired
idUUIDThe ID of collection item.Yes

Fields

NameTypeDescription
MarketplaceCollectionItemObjectContains the information from MarketplaceCollectionItem including ID, marketplace token ID, collection ID, sale type, collection name, slug, collection status, and details.

Example

Load the collection item data using the collection item ID: