Options
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Email to a Friend
- Printer Friendly Page
- Report Inappropriate Content
[REST] Add filter possibilities to product catalog call in REST API
Status:
New Idea
Submitted by
waterstorm
on
02-20-2017
05:55 AM

I'm using the product catalog call to return the entire catalog of products to show all available prodcuts in an application.
However I'd only need the products currently active (see "Effective Start" and "Effective End").
For subscriptions there is an option in the call to filter for active subscriptions (using ?charge-detail=current-segment).
I suggest implementing a similar option for the product catalog, e.g.:
?currently-active=true
which should only return products where the "Effective Start" date is after and the "Effective End" date is before the current date.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.