Marketplace API / Types

Auction

Object

The state of a product auction. Auctions use proxy bidding: topBid is the visible leading bid, while viewer.maxBid is the caller's maximum bid.

type Auction implements Node

Fields

FieldTypeDescription
bidCountInt!
Number of bids placed so far.
endTimeDateTime
When bidding closes. Null when not scheduled.
floorPriceMoney!
The minimum acceptable opening bid.
idID!
A globally unique ID. Treat this value as an opaque string.
liveAuctionLiveDetails
Present only for live-show auctions; null for async auctions.
minimumIncrementMoney!
The auction's current minimum bid, or zero when none is set. A bid must be at least this amount and topBid. If accepted at exactly topBid, the existing leader remains ahead.
placeBidUrlURL!
URL of the checkout page where a bid on this auction is placed and raised. The path is keyed by this auction's ID and is stable for the life of the auction.Arguments:
returnPath: String — A path, such as /p/vintage-rolex?size=m, resolved against the origin of Marketplace.url without that URL's path prepended. Checkout's back link returns the customer to this path. The value must start with one /, must not start with // or /\, must not contain a tab, carriage return or line feed, and must resolve to a URL on the storefront's origin. Any other value fails with error code VALIDATION_ERROR. When omitted or null, the back link opens Marketplace.url.
productProduct
The product being auctioned, or null when it is no longer available.
sellerUser
The auction's seller. Exposed in every auction state. Null only when the seller's account can no longer be resolved.
startTimeDateTime
When bidding opens. Null when not scheduled.
statusAuctionStatus!
Lifecycle state. ENDED is terminal.
topBidMoney
The current leading bid, or null before the first bid.
viewerAuctionViewerState
The requesting user's own standing in this auction. Null for unauthenticated viewers.
winnerUser
The final winner. Null until the auction ends, when it ends without a sale, or when the winner is unavailable. Bidder identities are not exposed while bidding is active.

Returned by