import { ShopifyMetafieldFilter } from '@daffodil/driver/shopify'
A filter used to view a subset of products in a collection matching a specific metafield value.
Only the following metafield types are currently supported:
number_integernumber_decimalsingle_line_text_fieldboolean as of 2022-04.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. |