Admin API / Types
ConvertProductToLiveAuctionOutcome
UnionConvertProductToLiveAuctionItemSuccess: the listing is a live auction listing with the settings. AuctionInProgressError: the live auction of the listing is running (Auction.status is ACTIVE), so it takes no settings until it ends. ProductLockedError: the listing's auction has a bid or a winner, or its giveaway started. ProductNotConvertibleError: the sale mode, the variants, the stock or a checkout hold of the listing do not fit a live auction. ProductNotFoundError: the caller reads no listing with this ID. ProductValidationError: the call sent no startingPrice, and the listing's price is outside Marketplace.listingRules.minimumPrice to maximumPrice, with no upper bound when maximumPrice is null (PRICE_OUT_OF_RANGE at ["productIds", "<index>"]). UnauthorizedError: the caller reads the listing, but the caller is not its seller or staff of the seller's store; requiredRole is null.
union ConvertProductToLiveAuctionOutcome = AuctionInProgressError | ConvertProductToLiveAuctionItemSuccess | ProductLockedError | ProductNotConvertibleError | ProductNotFoundError | ProductValidationError | UnauthorizedErrorMembers
AuctionInProgressErrorConvertProductToLiveAuctionItemSuccessProductLockedErrorProductNotConvertibleErrorProductNotFoundErrorProductValidationErrorUnauthorizedError