Skip to main content
input_object

Filters products in a collection by matching a specific metafield value. Used by the ProductFilter input's productMetafield and variantMetafield fields.

Supports the following metafield types: number_integer, number_decimal, single_line_text_field, and boolean.

•String!
non-null

The key of the metafield to filter on.

•String!
non-null

The namespace of the metafield to filter on.

•String!
non-null

The value of the metafield.


Was this section helpful?

Anchor to Input objects using this inputInput objects using this input

•INPUT OBJECT

The input fields for a filter used to view a subset of products in a collection. By default, the available and price filters are enabled. Filters are customized with the Shopify Search & Discovery app. Learn more about customizing storefront filtering.

•INPUT OBJECT

The input fields for a filter used to view a subset of products in a collection. By default, the available and price filters are enabled. Filters are customized with the Shopify Search & Discovery app. Learn more about customizing storefront filtering.


Was this section helpful?