Jerry Hamby • almost 10 years ago
Top 10 Brands or Stores
How do I find the top 10 brands or stores.
If I can supply the following information, what curl command pulls the top 10 brands or stores:
Example: Category/Sub-Category/SubSubCategory
(Fashion/Shoes/Women)
Comments are closed.

1 comment
Paul Dumas Manager • almost 10 years ago
Hi Jerry,
Our API is primarily product focused (we have additional brand focused services in queue).
The products returned in a search request are in order of "score", which is a calculation considering relevancy of the term and/or filters used in the search. (A post on the calculation of "score" will be on another update/discussion for this contest).
Leveraging this sort order of the products, you can capture the brands of these products from the product detail attributes. This will tell you which brands have products with the best "score" or relevancy.
To follow-up with your example, our category endpoint (https://api.shop.com/AffiliatePublisherNetwork/v1/categories) returns the full 3-level category taxonomy. You will see there is a grouping dedicated to shoes with over 86,000 products.
You can review the taxonomy and see that there is a 3rd level category for "dress" shoes. Combine that with the term "Women" and you will retrieve over 10,000 products for Women's dress shoes.
https://api.shop.com/AffiliatePublisherNetwork/v1/products/?publisherID=TEST&categoryId=3-7867_a:2184346&locale=en_US&term =women
I will post more information about categories and search.
Thanks!