Anchor to Filter
objectFilter
Requires access scope.
A filter option available on collection and search results pages. Each filter includes a type, display label, and selectable values that customers can use to narrow down products.
The objects contain an input field that you can combine to build dynamic filtering queries. Merchants configure available filters using the Shopify Search & Discovery app.
Anchor to FieldsFields
- id (String!)
- label (String!)
- presentation (FilterPresentation)
- type (FilterType!)
- values ([FilterValue!]!)
- •String!non-null
A unique identifier.
- Anchor to labellabel•String!non-null
A human-friendly string for this filter.
- Anchor to presentationpresentation•Filter
Presentation Describes how to present the filter values. Returns a value only for filters of type
. Returns null for other types.- Anchor to typetype•Filter
Type! non-null An enumeration that denotes the type of data this filter represents.
- Anchor to valuesvalues•[Filter
Value!]! non-null The list of values for this filter.
Was this section helpful?