Fetch Filter API

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

Request Schema

FieldTypeDescription
categoryTypeStringDefines the product category for which filters are requested.
includeFiltersStringComma-separated list of filter keys that must be explicitly included in the response.
excludeFiltersStringComma-separated list of filter keys that should be excluded from the response.
countryIdsArrayList of country IDs used to scope filters based on regional availability.

Response Schema


Field PathTypeDescription
data.fetchFilters.data.filtersArrayList of filter values applicable for the requested category and country
data.fetchFilters.data.filters[].filter_value_idNumberUnique identifier of the filter value
data.fetchFilters.data.filters[].filter_valueStringDisplay name of the filter value
data.fetchFilters.data.filters[].imageStringImage URL associated with the filter value. Empty if not available
data.fetchFilters.data.filters[].filtersArrayNested filters under the filter value. Currently empty
data.fetchFilters.data.filters[].categoryTypeStringCategory for which the filter applies (e.g. offers)
data.fetchFilters.data.filters[].countNumberNumber of items available for this filter value
data.fetchFilters.data.optionsArrayCurrently returned as an empty array for offers category
data.fetchFilters.data.brandsArrayCurrently returned as an empty array for offers category
data.fetchFilters.data.countriesArrayCountry-wise aggregation of available items
data.fetchFilters.data.countries[].countryIdNumberInternal country identifier
data.fetchFilters.data.countries[].countryNameStringName of the country
data.fetchFilters.data.countries[].countStringTotal number of items available for the country
Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!