Admin API / Types

ConvertProductsToLiveAuctionInput

Input

The listings that convertProductsToLiveAuction makes live auction listings, and the settings that each one takes.

input ConvertProductsToLiveAuctionInput

Input fields

FieldTypeDescription
durationDuration!How long bidding runs after the host starts each auction: 3 to 120 seconds, in whole seconds (LIVE_AUCTION_DURATION_INVALID).
prebidsEnabledBoolean!Whether buyers can bid before the host starts each auction. Auction.live.prebidsEnabled reads it.
productIds[ID!]!1 to 100 listing IDs, each at most once. None, more than 100, or a repeated ID fails with VALIDATION_ERROR.
startingPriceMoneyInputOne starting price for every listing: in USD (CURRENCY_NOT_SUPPORTED), rounded to cents, from Marketplace.listingRules.minimumPrice to maximumPrice, with no upper bound when maximumPrice is null (PRICE_OUT_OF_RANGE). It replaces the price of each listing's variant and becomes Auction.floorPrice and Auction.minimumIncrement. Omitted: each listing keeps its price as its starting price, and a listing whose price is outside that range gets a ProductValidationError.
suddenDeathBoolean!True: a bid never moves the end, and bidding stops when duration runs out. False: a bid near the end moves the end later. Auction.live.suddenDeath reads it.