GitHub

ShopifyMetafieldFilter

interface

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_integer
  • number_decimal
  • single_line_text_field
  • boolean as of 2022-04.
interface ShopifyMetafieldFilter {
  key: string
  namespace: string
  value: string
}

Properties

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.