Get Filter API

Filters API allows you to identify filters that are available which can be applied to filter the products in Get Voucher API

Note:

  1. In the getFilter API Request, "includeFilters" & " excludeFilters " will only work by passing value in " filterGroupCode "
  2. You can pass empty values in the getFilters API request for all the parameters to get a list of all the available filters

Request Schema

PropertyTypeDescription
filterGroupCodestringfilter category name representing a specific filter group applied
includeFiltersstringFilters that should be explicitly included
excludeFiltersstringFilters that should be explicitly excluded

Response Schema

PathTypeDescription
dataobjectRoot object containing the getFilters payload.
data.getFiltersobjectMain container for filter metadata.
data.getFilters.statusnumberAPI execution status. 1 indicates success.
data.getFilters.dataarrayList of filter groups supported by the catalog.
data.getFilters.data[].filterGroupNamestringDisplay name of the filter group (e.g., Country).
data.getFilters.data[].filterGroupDescriptionstringDescription of the filter group.
data.getFilters.data[].filterGroupCodestringInternal code for the filter group (e.g., country).
data.getFilters.data[].filtersarrayList of filter values inside the group.
data.getFilters.data[].filters[].filterValuestringDisplay name of the filter value (e.g., Afghanistan).
data.getFilters.data[].filters[].isoCodestringShort ISO code for the filter (e.g., AF).
data.getFilters.data[].filters[].filterValueCodestringInternal system code used in downstream APIs (e.g., afghanistan).

List of available filterGroupCode

Filter nameFunctionality
countryUsers can filter products based on the country
priceUsers can filter products based on price range (0 – 1,000, 10,000 – above, etc.)
voucher_categoryUsers can filter products based on categories like Electronics, Food & Restaurant
product_categoryUsers can filter products based on types like e-gift voucher, Experience, Physical voucher
currencyUsers can filter products based on the product currency (INR, USD, AUD, etc.)
topupUsers can filter products based on mobile/DTH/data recharge or top-up plans
Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!