import { ShopifyMetafieldFilter } from '@daffodil/driver/shopify'
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.
interface ShopifyMetafieldFilter {
key: string
namespace: string
value: string
}
key string |
|---|
The key of the metafield to filter on. |
namespace string |
|---|
The namespace of the metafield to filter on. |
value string |
|---|
The value of the metafield. |