---
title: HasMetafieldsIdentifier - Storefront API
description: >-
  The input fields to identify a

  [`Metafield`](/docs/api/storefront/2026-10/objects/Metafield)

  on an owner resource by namespace and key. Used as an argument to the
  [`metafields`](/docs/api/storefront/2026-10/interfaces/HasMetafields#fields-metafields)

  field of the `HasMetafields` interface to retrieve multiple metafields in a

  single request.


  If you omit the namespace, then the [app-reserved

  namespace](https://shopify.dev/docs/apps/build/metafields#app-owned-metafields)

  is used by default.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/storefront/latest/input-objects/HasMetafieldsIdentifier
  md: >-
    https://shopify.dev/docs/api/storefront/latest/input-objects/HasMetafieldsIdentifier.md
api_name: storefront
api_type: graphql
type: input-object
---

# Has​Metafields​Identifier

input\_object

The input fields to identify a [`Metafield`](https://shopify.dev/docs/api/storefront/2026-10/objects/Metafield) on an owner resource by namespace and key. Used as an argument to the [`metafields`](https://shopify.dev/docs/api/storefront/2026-10/interfaces/HasMetafields#fields-metafields) field of the `HasMetafields` interface to retrieve multiple metafields in a single request.

If you omit the namespace, then the [app-reserved namespace](https://shopify.dev/docs/apps/build/metafields#app-owned-metafields) is used by default.

## Fields

* key

  [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String)

  non-null

  The identifier for the metafield.

* namespace

  [String](https://shopify.dev/docs/api/storefront/latest/scalars/String)

  The container the metafield belongs to. If omitted, the app-reserved namespace will be used.

***

## Map

No referencing types
