---
title: MetafieldDefinitionIdentifierInput - GraphQL Admin
description: The input fields that identify metafield definitions.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/input-objects/MetafieldDefinitionIdentifierInput
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/input-objects/MetafieldDefinitionIdentifierInput.md
api_name: admin
api_type: graphql
type: input-object
---

# Metafield​Definition​Identifier​Input

input\_object

The input fields that identify metafield definitions.

## Fields

* key

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

  non-null

  The unique identifier for the metafield definition within its namespace.

* namespace

  [String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  The container for a group of metafields that the metafield definition will be associated with. If omitted, the app-reserved namespace will be used.

* owner​Type

  [Metafield​Owner​Type!](https://shopify.dev/docs/api/admin-graphql/latest/enums/MetafieldOwnerType)

  non-null

  The resource type that the metafield definition is attached to.

***

## Mutations using this input

* [metafield​Definition​Delete.identifier](https://shopify.dev/docs/api/admin-graphql/latest/mutations/metafieldDefinitionDelete#arguments-identifier)

  ARGUMENT

* [metafield​Definition​Pin.identifier](https://shopify.dev/docs/api/admin-graphql/latest/mutations/metafieldDefinitionPin#arguments-identifier)

  ARGUMENT

* [metafield​Definition​Unpin.identifier](https://shopify.dev/docs/api/admin-graphql/latest/mutations/metafieldDefinitionUnpin#arguments-identifier)

  ARGUMENT

***

## Map

### Mutations using this input

* [metafield​Definition​Delete.identifier](https://shopify.dev/docs/api/admin-graphql/latest/mutations/metafieldDefinitionDelete#arguments-identifier)
* [metafield​Definition​Pin.identifier](https://shopify.dev/docs/api/admin-graphql/latest/mutations/metafieldDefinitionPin#arguments-identifier)
* [metafield​Definition​Unpin.identifier](https://shopify.dev/docs/api/admin-graphql/latest/mutations/metafieldDefinitionUnpin#arguments-identifier)
