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:50
    reservePrice:null
    startDate:"2022-05-14T06:08:00Z"
    endDate:"2022-07-15T06:09:00Z"
    maxEndDate:"2022-08-15T06:09:00Z"
    lotNumber:null
    status:Preview
    delivery:{
      deliveryMethod:NoOp
      NoOp:{
        notes:""
      }
    }
  }){
    id
    lotNumber
    marketplaceCollectionItemId
    startingBid
    reservePrice
    marketplaceCollectionItem{
      id
      collectionId
      name
      slug
      status
    }
  }
}

Sample Response

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

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: