---
title: "FilterValue"
description: "A selectable value within a filter."
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/common-objects/objects/filter-value'
  md: 'https://developer.shopline.com/docs/storefront-api/common-objects/objects/filter-value.md'
---
# FilterValue

A selectable value within a filter.

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

## Type Signature

`FilterValue`

## Fields

* `count`

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

  The number of results that match this filter value.
  

* `input`

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

  An input object that can be used to filter by this value on the parent field.
  
  The value is provided as a helper for building dynamic filtering UI. For example, if you have a list of selected FilterValue objects, you can combine their respective input values to use in a subsequent query.

* `label`

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

  A human-friendly string for this filter value.

## Schema Definition

```graphql
type FilterValue { 
	count: String!
	input: String!
	label: String! 
}
```

## Field from

* [Filter](https://developer.shopline.com/docs/storefront-api/common-objects/objects/filter.md).values

  The list of values for this filter.

## 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).

