question

thetechnodisco avatar image
0 Likes"
thetechnodisco asked

With the Shopping API or another is there a way to retrieve the item's "Quantity Available" with just one call?

With the Shopping API or another is there a way to retrieve the item's "Quantity Available" with just one call? I was suggested to use the Shopping API "SingleItemRequest or MultipleItemRequest" but I have to make 100's of call to get the aggregate quantity available for just one item. The "MultipleItemRequest" has a 15 or 20 itemID limit. I want to retrieve an aggregate amount of the Quantity available for just one keyword item title without having to make a call for each itemID associated with the one item title. And is there a way to make a request for this type of API Call?
shopping-apiquantityavailable
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

skywalker141 avatar image
0 Likes"
skywalker141 answered
GetSingleItem returns: stdClass Object ( [Timestamp] => 2015-10-19T15:35:43.558Z [Ack] => Success [Build] => E933_CORE_APILW_17636370_R1 [Version] => 933 [Item] => stdClass Object ( [ItemID] => 121749181959 [EndTime] => 2015-11-01T19:45:18.000Z [ViewItemURLForNaturalSearch] => http://www.ebay.com/itm/Microsoft-Xbox-One-500GB-Console-Kinect-and-Forza-5-Full-Game-Download-/121749181959 [ListingType] => FixedPriceItem [Location] => Ontario [GalleryURL] => http://thumbs4.ebaystatic.com/pict/1217491819598080_2.jpg [PictureURL] => Array ( [0] => http://i.ebayimg.com/00/s/MTAzNFgxNTAw/z/HFAAAOSwsB9V9zGQ/$_1.JPG?set_id=880000500F [1] => http://i.ebayimg.com/00/s/NTAwWDUwMA==/z/6c0AAOSwTapV51CF/$_1.JPG?set_id=880000500F ) [PrimaryCategoryID] => 139971 [PrimaryCategoryName] => Video Games & Consoles:Video Game Consoles [BidCount] => 0 [ConvertedCurrentPrice] => stdClass Object ( [_] => 399.99 [currencyID] => USD ) [ListingStatus] => Active [TimeLeft] => P13DT4H9M35S [Title] => Microsoft Xbox One 500GB Console with Kinect and Forza 5 Full Game Download [Country] => CA [AutoPay] => 1 [ConditionID] => 1000 [ConditionDisplayName] => New [QuantityAvailableHint] => MoreThan [QuantityThreshold] => 10 ) ) So You get QuantityAvailableHint and QuantityThreshold and you dont have to make multiple calls. If the item you try to get info about is listed for a single item, then this call will not return any of those fields.
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

thetechnodisco avatar image
0 Likes"
thetechnodisco answered
What call did you make to get these results. You are just showing the results. And these results are for just one itemID and does not return results for every itemID under one keyword. I wanted to know if using just one keyword was there a way to get the quantity available for each itemID that falls under? Or could I make a keyword call and return the aggregate quantity available results for each itemID that is associated with the keyword?
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.