pajaydev / ebay-node-api

eBay API Client for node
https://pajaydev.github.io/ebay-node-api
MIT License
131 stars 76 forks source link

Best Offer Sold Prices #51

Open zslabs opened 5 years ago

zslabs commented 5 years ago

@pajaydev It looks like a few weeks ago (I believe) eBay removed the actual sale price from the API responses for listings that had a best offer option, but I'm still seeing some other websites display them. Are you aware of a way around this, or does this have something to do with the eBay Compatible Application process?

pajaydev commented 5 years ago

@zslabs I need to check. I can check and get back to you. What Api are you exactly using ?.

zslabs commented 5 years ago

Really appreciate the quick response. I'm not quite sure if this is the info you're looking for, but this is using the findCompletdItems endpoint from this package, using the "Finding API" on version 1.13.0. Thanks again!

zslabs commented 5 years ago

👋 @pajaydev was that the info you were looking for from me on that? The eBay API dashboard can be a bit confusing to navigate, so I wanted to make sure. Thanks as always!

zslabs commented 5 years ago

I'm not sure if this is still valid, but I did read this on a forum:

eBay exposes the best offer history of items via GetBestOffers in their Trading API. I did some testing and was able to see all the offers sent on a specific item. The sold price was found just by looking for which offer has a status of “Accepted.”

I see this library has a tag of ebay-trading-api is there an example of using it within the library by chance?

pajaydev commented 5 years ago

@zslabs Sorry I was bit busy. Let me check and get back to you

zslabs commented 5 years ago

@pajaydev No worries, thank you very much!

zslabs commented 4 years ago

@pajaydev Happen to have any thoughts on this one yet?

pajaydev commented 4 years ago

Hey @zslabs , Apologies for late response.

ebay-trading-api support soap xml based api. This project doesn't support xml based Api's. I can see the newer version of it. Kindly let me know if it's useful to you. I can integerate with that.

https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/getOffers

zslabs commented 4 years ago

@pajaydev That looks pretty cool! I of-course can't think of it at the moment, but I remember there being an endpoint that would list the offers, and then which one was actually "accepted". I may be just missing it on that doc page, but are you aware if that endpoint would do the trick?

zslabs commented 4 years ago

@pajaydev I did a bit of research and it looks like the endpoint I was thinking about was just for users to see their "own" accepted offers, but I'm hoping there's a way we can regain functionality to see best offers accepted on generic searches.

zslabs commented 4 years ago

@pajaydev It looks like the fallback URL I used to use to at least surface the info https://cgi.ebay.com/ws/eBayISAPI.dll?ViewItemVersion&item=ITEM_ID_HERE isn't working anymore... eBay sure is making this difficult ;)

I found that if you visit a URL like https://www.ebay.com/itm/303546891616?orig_cvip=true, view the source, search for the text string taxExclusivePrice that amount is the actual sold price. BUT, it's not always accurate (I went to a listing that I sold and the amount shown for that blob was the original amount, not what I accepted). Have you found anything else your end? I was going to attempt to parse that file and grab taxExclusivePrice with https://github.com/cheeriojs/cheerio but am stumbling a bit trying to grab that piece.

rdcorp commented 4 years ago

Hello @zslabs Did you come up with a solution for this problem of getting taxExclusivePrice for sold items? Would you please share it? Thank you!

bradical1379 commented 3 years ago

Is there a new method for getting best offer accepted prices? It appears that eBay has closed up the holes on most of the old ways.