it returns empty list. is that because the category id is wrong?
And then I want to find out the best sales ranking in TV
http://www.bestbuy.com/site/TV-Video/Televisions/abcat0101000.c?id=abcat0101000
http://api.remix.bestbuy.com/v1/products%28categoryPath.id=abcat0101000%29?apiKey=<REPLACE_KEY>&PID=2823044&show=all&sort=salesRankMediumTerm.desc&format=xml
it return bunch of TV that in my opinion no way can make into bestbuy top list :)
most of them don't have any review or rating...
and upon further investigation, the result actually contains same salesrank for almost all of the data ?
<salesRankShortTerm>160</salesRankShortTerm>
<salesRankMediumTerm>366</salesRankMediumTerm>
<salesRankLongTerm>2215</salesRankLongTerm>
can anyone take a quick look and see if it is the query problem or a bug in the api system?
For the MP3 category .com is using a different category to aggregate multiple categories into one but it's not the products actual category.
This is the actual MP3 category: http://www.bestbuy.com/site/iPod-MP3-Players/cfcat/abcat0201010.c?id=abcat0201010
Ipods are categorized separately http://www.bestbuy.com/site/iPod-MP3-Players/iPods/abcat0201009.c?id=abcat0201009
Your query:
http://api.remix.bestbuy.com/v1/products%28categoryPath.id=abcat0201009|categoryPath.id=abcat0201010%20%29?show=name,salesRankShortTerm,salesRankMediumTerm,salesRankLongTerm&sort=salesRankMediumTerm&apiKey=
I really don't see what you are talking about with TV's having the same sales rank data for almost all of them...? Keep in mind that Medium term is 14 days. That covers two weeks of sales for us. You'll also see a higher volatility in new sku's which may not get reviews and ratings for awhie.
Here is a query just showing the ratings:
http://api.remix.bestbuy.com/v1/products%28categoryPath.category.id=abcat0101000%29?show=name,salesRankShortTerm,salesRankMediumTerm,salesRankLongTerm&sort=salesRankMediumTerm&apiKey=
hi,
according to
http://remixblog.info/2009/06/10/sales-rank-feature-added-and-wildcard-search/
we should be able to query a category and return the top sales rank under that category. However, i ran into few issues.
First, when i try to do that for all ipod & mp3 player categories
http://www.bestbuy.com/site/Audio/iPod-MP3-Players/abcat0201000.c?id=abcat0201000
with this api request
http://api.remix.bestbuy.com/v1/products%28categoryPath.id=abcat0201011%29?apiKey=<REPLACE_KEY>&PID=2823044&show=all&sort=salesRankMediumTerm.desc&format=xml
it returns empty list. is that because the category id is wrong?
And then I want to find out the best sales ranking in TV
http://www.bestbuy.com/site/TV-Video/Televisions/abcat0101000.c?id=abcat0101000
http://api.remix.bestbuy.com/v1/products%28categoryPath.id=abcat0101000%29?apiKey=<REPLACE_KEY>&PID=2823044&show=all&sort=salesRankMediumTerm.desc&format=xml
it return bunch of TV that in my opinion no way can make into bestbuy top list :)
most of them don't have any review or rating...
and upon further investigation, the result actually contains same salesrank for almost all of the data ?
<salesRankShortTerm>160</salesRankShortTerm>
<salesRankMediumTerm>366</salesRankMediumTerm>
<salesRankLongTerm>2215</salesRankLongTerm>
can anyone take a quick look and see if it is the query problem or a bug in the api system?
thanks
Bryan Brandau - Remix Team – 1 month ago
Sales Rank is accurate.
For the MP3 category .com is using a different category to aggregate multiple categories into one but it's not the products actual category.
This is the actual MP3 category: http://www.bestbuy.com/site/iPod-MP3-Players/cfcat/abcat0201010.c?id=abcat0201010
Ipods are categorized separately http://www.bestbuy.com/site/iPod-MP3-Players/iPods/abcat0201009.c?id=abcat0201009
Your query:
http://api.remix.bestbuy.com/v1/products%28categoryPath.id=abcat0201009|categoryPath.id=abcat0201010%20%29?show=name,salesRankShortTerm,salesRankMediumTerm,salesRankLongTerm&sort=salesRankMediumTerm&apiKey=
I really don't see what you are talking about with TV's having the same sales rank data for almost all of them...? Keep in mind that Medium term is 14 days. That covers two weeks of sales for us. You'll also see a higher volatility in new sku's which may not get reviews and ratings for awhie.
Here is a query just showing the ratings:
http://api.remix.bestbuy.com/v1/products%28categoryPath.category.id=abcat0101000%29?show=name,salesRankShortTerm,salesRankMediumTerm,salesRankLongTerm&sort=salesRankMediumTerm&apiKey=
fattycat – 1 month ago
seems like the sort=salesRankMediumTerm.desc causing the problem.
I am not sure why i get the idea of this syntax, maybe coming from one of the doc here....
try this, you will see all sames rank at 366.
http://api.remix.bestbuy.com/v1/products%28categoryPath.category.id=abcat0101000%29?show=name,salesRankShortTerm,salesRankMediumTerm,salesRankLongTerm&sort=salesRankMediumTerm.desc&apiKey=
fattycat – 1 month ago
oh nm, desc here is actually looking at the buttom of the sales rank :)
I am pulling the bottm sales rank of the product to display, nice .... :P