updateMarketplaceAuctionLot

This mutation updates the marketplace auction lot.

Sample Mutation

Perform an update on an auction lot within a marketplace:

mutation{
  updateMarketplaceAuctionLot(marketplaceAuctionLotId:"eae964cf-ebd5-4117-a070-4c1fa21b9901"data:{
    startingBid:44
    reservePrice:null
    startDate:"2022-02-14T06:08:00Z"
    endDate:"2022-02-15T06:09:00Z"
    status:Hidden
    lotNumber:null
  }){
    id
    lotNumber
    marketplaceCollectionItemId
    startingBid
    reservePrice
    marketplaceCollectionItem{
      id
      collectionId
    }
  }
}

Sample Response

{
  "data": {
    "updateMarketplaceAuctionLot": {
      "id": "eae964cf-ebd5-4117-a070-4c1fa21b9901",
      "lotNumber": null,
      "marketplaceCollectionItemId": "0a945867-2b99-462c-a6c7-0aacc51bb5e7",
      "startingBid": 44,
      "reservePrice": null,
      "marketplaceCollectionItem": {
        "id": "0a945867-2b99-462c-a6c7-0aacc51bb5e7",
        "collectionId": "b53a4163-ffce-455b-a72e-1a2106c90fbc"
      }
    }
  }
}

Arguments

Name

Type

Description

marketplaceAuctionLotId

UUID

The marketplace auction lot id.

Yes

data

Object

The update input for marketplace auction lot.

Yes

Returns

Name

Type

Description

MarketplaceAuctionLot

Object

Contains all the information from MarketplaceAuctionLot including ID, lot number, marketplace collection item, etc.

Example

Update an auction lot within a marketplace with Marketplace Auction Lot ID and MarketplaceAuctionLot object: