Returns a MarketplaceAuctionLot on subscribe and whenever a new bid is placed
General pattern
query{
getMarketplaceAuctionLot(marketplaceAuctionLotId: "UUID1"){
field_1
field_2 {
nested_field_1
...
}
}
}
Sample query
subscription{
getMarketplaceAuctionLot(marketplaceAuctionLotId:"eae964cf-ebd5-4117-a070-4c1fa21b9901"){
id
lotNumber
marketplaceCollectionItem{
id
marketplaceTokenId
collectionId
saleType
name
slug
}
marketplaceCollectionItemId
startingBid
}
}
Sample Response
{
"data": {
"getMarketplaceAuctionLot": {
"id": "eae964cf-ebd5-4117-a070-4c1fa21b9901",
"lotNumber": null,
"marketplaceCollectionItem": {
"id": "0a945867-2b99-462c-a6c7-0aacc51bb5e7",
"marketplaceTokenId": "d5699b63-f2d8-49c0-9a46-dce441f14dae",
"collectionId": "b53a4163-ffce-455b-a72e-1a2106c90fbc",
"saleType": "Auction",
"name": "pictorial",
"slug": "pictorial"
},
"marketplaceCollectionItemId": "0a945867-2b99-462c-a6c7-0aacc51bb5e7",
"startingBid": 44
}
}
}
Arguments
Name | Type | Description | Required |
---|---|---|---|
marketplaceAuctionLotId | UUID1 | The market place auction lot ID. | Yes |
Fields
Name | Type | Description |
---|---|---|
MarketplaceAuctionLot | Object | Contains all the information from MarketplaceAuctionLot and MarketplaceCollectionItem . |
Example
Load an auction lot in a specific marketplace using Marketplace Auction Lot ID: