---
title: "Filter"
description: "A filter that is supported on the parent field."
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/common-objects/objects/filter'
  md: 'https://developer.shopline.com/docs/storefront-api/common-objects/objects/filter.md'
---
# Filter

A filter that is supported on the parent field.

- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Type Signature

`Filter`

## Fields

* `label`

  [String!](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  A human-friendly string for this filter.

* `type`

  [FilterType!](https://developer.shopline.com/docs/storefront-api/common-objects/enums/filter-type.md)

  An enumeration that denotes the type of data this filter represents.

* `values`

  [[FilterValue!]!](https://developer.shopline.com/docs/storefront-api/common-objects/objects/filter-value.md)

  The list of values for this filter.

## Schema Definition

```graphql
type Filter { 
	label: String!
	type: FilterType!
	values: [FilterValue!]! 
}
```

## Field from

* [SearchResultItemConnection](https://developer.shopline.com/docs/storefront-api/products/objects/search-result-item-connection.md).productFilters

  A list of available filters.

* [ProductConnection](https://developer.shopline.com/docs/storefront-api/products/objects/product-connection.md).filters

  A list of available filters. Note that [products](https://developer.shopline.com/docs/storefront-api/products/queries/collection.md) does not support

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes).

