Hi,
This month we are happy to release a very important feature that many of you have been asking for, for a long time…
It is a new query parameter added to all of our GET resources, named is_distinct
It is especially useful when you are writing a web site on top of our API in real-time.
​When you set is_distinct = true you retrieve only the distinct values of the fields requesed on the fields parameter.

This way you can fetch our categories dynamically and provide a dynamic drill down to an unlimited number of sub categories.

For example:

https://api.pepperi.com/v1.0/items?fields=MainCategoryID&is_distinct=true&where=TSAModel='BRANDS'

Returns:

[
  {
    "MainCategoryID": "GAP"
  },
  {
    "MainCategoryID": "TOMMY"
  },
  {
    "MainCategoryID": "REPUBLIC BANANA"
  } 
]

The Pepperi Official .Net C# SDK was updated as well to support this new feature.

That’s it for this release – Happy integrating!
Yossi Rotlevy, VP of Data Integration & CO-Founder

Related Posts


Developer Update - April 2019

Developer Update - June 2018

Developer Update - October 2017

Leave a Reply