createMarketplaceAuctionLot

This mutation allows the creation of a new marketplace auction lot.

Sample Mutation

Create an auction lot with a name of pictorial for a specific marketplace:

mutation{
  createMarketplaceAuctionLot(marketplaceAuctionLot:{
    collectionId:"c49fa960-bfaa-459e-9208-7060ace94364"
    lotNumber:null
    marketplaceTokenId:"40d2947b-6651-45a9-886b-80bf2b7ecc7a"
    startingBid:100.000000
    saleType:Auction
    reservePrice:90
    startDate:"2022-02-14T06:08:00Z"
    endDate:"2022-08-15T06:09:00Z"
    collectionItemName:"pictorial"
    delivery:{
      deliveryMethod:NoOp
      NoOp:{
        notes:"pict"
      }
      }
  }){
    id
    lotNumber
    marketplaceCollectionItemId
    marketplaceCollectionItem{
      id
      collectionId
      saleType
      name
      status
    }
  }
}

Sample Response

{
  "data": {
    "createMarketplaceAuctionLot": {
      "id": "a10dee68-c59f-47eb-997b-f7f833b6e532",
      "lotNumber": null,
      "marketplaceCollectionItemId": "0cd7606c-5f4d-4d37-b063-a3108921a625",
      "marketplaceCollectionItem": {
        "id": "00000000-0000-0000-0000-000000000000",
        "collectionId": "00000000-0000-0000-0000-000000000000",
        "saleType": "",
        "name": "",
        "status": ""
      }
    }
  }
}

Result

664

Arguments

Name

Type

Description

Required

marketplaceAuctionLot

Object

The update input for marketplace auction lot.

Yes

Returns

Name

Type

Description

MarketplaceAuctionLot

Object

Contains all the information of MarketplaceAuctionLot including ID, lot number, marketplace collection item, starting bid, reserve bid etc.

Example

Create an auction lot within a marketplace using MarketplaceAuctionLotInput object: