import { ShopifyHasMetafields } from '@daffodil/driver/shopify'
Implemented by resources that support custom metadata through Metafield objects. Types like Product, Collection, and Customer implement this interface to provide consistent access to metafields.
You can retrieve a single metafield by namespace and key, or fetch multiple metafields in a single request. If you omit the namespace, then the app-reserved namespace is used by default.
interface ShopifyHasMetafields {
metafield: ShopifyMetafield
metafields: ShopifyMetafield[]
}
metafield ShopifyMetafield |
|---|
A custom field, including its |
metafields ShopifyMetafield[] |
|---|
A list of custom fields that a merchant associates with a Shopify resource. |