Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to control DetailLevel in the getItem call? #151

Open
1 task
doverradio opened this issue Sep 11, 2021 · 1 comment
Open
1 task

Is there a way to control DetailLevel in the getItem call? #151

doverradio opened this issue Sep 11, 2021 · 1 comment

Comments

@doverradio
Copy link

  • [ x ] Issue
  • Enhancement / Improvement

Steps to reproduce

I need a reliable way to get the quantity sold for any valid ebay item. I used your library and specifically the getItem call. It worked except I noticed it was missing Item.SellingStatus.QuantitySold in the responses. How can I use ebay-node-api to get this value?

I was thinking maybe the call is not passing in DetailLevel and that's the reason it's not in the response. Could this be the case and if so, is there a way to pass in the DetailLevel parameter as "ReturnAll"

Expected Behavior

Need to get Item.SellingStatus.QuantitySold

Actual Behavior

Missing this key in the response.

@doverradio
Copy link
Author

On second look, I can get the estimatedSoldQuantity, which is basically equivalent to Item.SellingStatus.QuantitySold, from the Browse API's getItem.

Still, is there a way to put the ReturnAll DetailLevel parameter?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant