cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Browse API can't see item quantity

BrowseAPI/search 

vs

finditemsadvanced 

Is there any way I can see the quantity of item ?

Will any of those API calls show out of stock items ?

 

Message 1 of 3
latest reply
2 REPLIES 2

Browse API can't see item quantity

For traditional xml apis, finding api doesn't seem to use a "Quantity" field for anything, but shopping and trading apis have calls that utilize it.

 

https://developer.ebay.com/Devzone/XML/docs/Reference/eBay/fieldindex.html#Q
https://developer.ebay.com/Devzone/shopping/docs/CallRef/fieldindex.html#Q

 

 

Additionally, I am not seeing an explicit quantity field for browse rest apis, but they do suggest other field names that are based on quantity:

 

https://developer.ebay.com/api-docs/buy/browse/fields
https://developer.ebay.com/api-docs/buy/browse/resources/item/methods/getItem

estimatedAvailabilities - Returns the item availability information, which is based on the item's quantity. Note: Changes in quantity are not tracked by sellerItemRevision.

"estimatedAvailabilityStatus" : "AvailabilityStatusEnum : [IN_STOCK,LIMITED_STOCK,OUT_OF_STOCK]",
"estimatedAvailableQuantity" : "integer",
"estimatedSoldQuantity" : "integer"

 

 

Additionally2, if you are looking for out of stock items for your own store or management of your items, calls geared more toward your account would be better, vs ones searching all of eBay. (i.e. Trading/Selling/Commerce)

 

 

Message 2 of 3
latest reply

Browse API can't see item quantity

eBay's APIs that pull in publicly available data will not show "out of stock" items (or adult items, back when they were allowed on the site with proof of age required) because these listings are not visible to the public. The public shopping API will return a start quantity and a sold quantity, so the available quantity can be calculated.

 

The exception to this public data is that a variation that is out of stock would return zero quantity, if the out-of-stock feature is enabled.

 

If you need more detailed data, then you will have to use an API that accesses the seller account.

 

 

ShipScript has been an eBay Community volunteer since 2003, specializing in HTML, CSS, Scripts, Photos, Active Content, Technical Solutions, and online Seller Tools.
Message 3 of 3
latest reply