Find the answer to your question
Advanced Search
How do I determine buy it now price for a listing?
Detailed Description
A Chinese auction item can be listed with both StartPrice and BuyItNowPrice. Fixed price items (ListingType = 'FixedPriceItem' ) are allowed to be listed with StartPrice even though they are marked as BuyItNow on the eBay Web site. As a result, you can call GetItem API and examine ListingType propery and BuyItNowAvailable property to determine whether to label an itme as BuyItNow .
String listingType = item.getListingType().toString();
if ( listingType.equals("FixedPriceItem") ){
// it's a Fixed price item, and the item in quesion should be labeled as BuyItNow
// here is the price for this item
item.getSellingStatus().getCurrentPrice().getValue();
}else if (listingType.equals("Chinese" ) ){
// it's an auction item, and here is the current bid price for the item
item.getSellingStatus().getCurrentPrice ().getValue();
if ( item.getListingDetails().getBuyItNowAvailable() ) {
// it's a Chinese item that listed with BuyItNowPrice feature
// the item in question should be marked as BuyItNow.
item.getBuyItNowPrice().getValue();
}
}
Additional Resources
Documentation: BuyItNowPrice
Documentation: CurrentPrice
How well did this answer your question?
Answers others found helpful
- Invalid minimum bid or Buy It Now price error message in AddItem call
- GetSellerEvents - How can I tell when the StartPrice has been modified when the field is not even returned in the response?
- Why GetItem always returns a BuyItNowPrice of 0 for FixedPriceItem listings while GetMyeBaySelling reports the correct value for the same ?
- Why is AddItem returning Invalid BIN Price for a Stores Fixed Price listing?
- How to convert Stores Inventory Format to Auction or Fixed Price Items