Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I found a relatively lightweight way to retrieve pricing info the way some of the price-tracking applications do it :D.
It uses a special path gp/cart/desktop/ajax-mini-detail.html/ref=added_item_1?ie=UTF8&asin=
It works on everything I’ve found except e-books.
It is an extra resource about 3KB to load, so maybe we should make it an optional parameter but it can also be used to get number of ratings, if in stock, seller, etc. (e.g., https://www.amazon.com/gp/cart/desktop/ajax-mini-detail.html/ref=added_item_1?ie=UTF8&asin=1593276036)
I'm pretty confident about this method, and it might even serve us well to get all the info this way since I've noticed images aren't always correct as is.