We're trying to get a products query that filters for multiple categories.
Here's the single-category version of the products query - works fine:
http://api.remix.bestbuy.com/v1/products(categoryPath.id=abcat0400000&nationalFeatured=true)?page=1&show=upc,manufacturer,modelNumber,releaseDate,categoryPath,sku,name,regularPrice,salePrice,image,cjAffiliateUrl,cjAffiliateAddToCartUrl,nationalFeatured,onSale,freeShipping,salesRankShortTerm,salesRankMediumTerm,salesRankLongTerm,customerReviewAverage,customerReviewCount&apiKey=&PID=
We get success with a multi-category version of a categories query:
http://api.remix.bestbuy.com/v1/categories(id in(abcat0100000,abcat0400000))?apiKey=
We tried the following syntax for a multi-category version of a products query:
http://api.remix.bestbuy.com/v1/products(id in(abcat0100000,abcat0400000)&nationalFeatured=true)?page=1&show=upc,manufacturer,modelNumber,releaseDate,categoryPath,sku,name,regularPrice,salePrice,image,cjAffiliateUrl,cjAffiliateAddToCartUrl,nationalFeatured,onSale,freeShipping,salesRankShortTerm,salesRankMediumTerm,salesRankLongTerm,customerReviewAverage,customerReviewCount&apiKey=&PID=
Produced the following error message:
400 Bad Request
'id' is not a valid attribute.
Understandable... 'id' is probably a valid attribute for categories query, not products query.
Also tried the following syntax: 'categoryPath.id'.
http://api.remix.bestbuy.com/v1/products(categoryPath.id in(abcat0100000,abcat0400000)&nationalFeatured=true)?page=1&show=upc,manufacturer,modelNumber,releaseDate,categoryPath,sku,name,regularPrice,salePrice,image,cjAffiliateUrl,cjAffiliateAddToCartUrl,nationalFeatured,onSale,freeShipping,salesRankShortTerm,salesRankMediumTerm,salesRankLongTerm,customerReviewAverage,customerReviewCount&apiKey=&PID=
Produced the following error message:
500 Internal Server Error
Internal server error.
Searched forums and checked documentation for products API - didn't seem to shed any light.
Is 'multiple categories' supported for products query? If so, where is the syntax documented?
We're trying to get a products query that filters for multiple categories.
Here's the single-category version of the products query - works fine:
http://api.remix.bestbuy.com/v1/products(categoryPath.id=abcat0400000&nationalFeatured=true)?page=1&show=upc,manufacturer,modelNumber,releaseDate,categoryPath,sku,name,regularPrice,salePrice,image,cjAffiliateUrl,cjAffiliateAddToCartUrl,nationalFeatured,onSale,freeShipping,salesRankShortTerm,salesRankMediumTerm,salesRankLongTerm,customerReviewAverage,customerReviewCount&apiKey=&PID=
We get success with a multi-category version of a categories query:
http://api.remix.bestbuy.com/v1/categories(id in(abcat0100000,abcat0400000))?apiKey=
We tried the following syntax for a multi-category version of a products query:
http://api.remix.bestbuy.com/v1/products(id in(abcat0100000,abcat0400000)&nationalFeatured=true)?page=1&show=upc,manufacturer,modelNumber,releaseDate,categoryPath,sku,name,regularPrice,salePrice,image,cjAffiliateUrl,cjAffiliateAddToCartUrl,nationalFeatured,onSale,freeShipping,salesRankShortTerm,salesRankMediumTerm,salesRankLongTerm,customerReviewAverage,customerReviewCount&apiKey=&PID=
Produced the following error message:
400 Bad Request
'id' is not a valid attribute.
Understandable... 'id' is probably a valid attribute for categories query, not products query.
Also tried the following syntax: 'categoryPath.id'.
http://api.remix.bestbuy.com/v1/products(categoryPath.id in(abcat0100000,abcat0400000)&nationalFeatured=true)?page=1&show=upc,manufacturer,modelNumber,releaseDate,categoryPath,sku,name,regularPrice,salePrice,image,cjAffiliateUrl,cjAffiliateAddToCartUrl,nationalFeatured,onSale,freeShipping,salesRankShortTerm,salesRankMediumTerm,salesRankLongTerm,customerReviewAverage,customerReviewCount&apiKey=&PID=
Produced the following error message:
500 Internal Server Error
Internal server error.
Searched forums and checked documentation for products API - didn't seem to shed any light.
Is 'multiple categories' supported for products query? If so, where is the syntax documented?
Thanks,
David
Bryan Brandau - Remix Team – 3 weeks ago
Your last example is actually proper. It's an identified bug that we have fixed and it should be released later this week.