---
title: MetafieldDefinitionUpdateInput - Shop Partners API
description: Set of inputs to the metafieldDefinitionUpdate Mutation.
api_version: unstable latest
source_url:
  html: https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldDefinitionUpdateInput
  md: https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldDefinitionUpdateInput.md
---

# Metafield​Definition​Update​Input

input\_object

Set of inputs to the metafieldDefinitionUpdate Mutation.

## Fields

* access

  [Custom​Data​Access​Input](https://shopify.dev/docs/api/shop-partners/latest/input-objects/CustomDataAccessInput)

  Optional AccessGrants that can be created along with the definition. Sharing requires additional client scope and is not available to all clients.

* description

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

  Human friendly description of the Definition.

* identifier

  [Custom​Data​Key​Pair​Input!](https://shopify.dev/docs/api/shop-partners/latest/input-objects/CustomDataKeyPairInput)

  required

  Key and namespace pair that together form the path to the definition. Key is required, Namespace defaults to the Client's implicit, reserved namespace if not provided.

* key

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

  Use 'key' to provide a new key if desired. Only changes the key for the Client's own use, or if accessed through a Namespace with Admin permission on the Primitive, will change the key within the Namespace.

* name

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

  Human friendly display name.

* validations

  [\[Custom​Data​Metafield​Definition​Validation​Input!\]](https://shopify.dev/docs/api/shop-partners/latest/input-objects/CustomDataMetafieldDefinitionValidationInput)

  Optional validations on the value in a field. Changes will be enforced upon the next use of metafieldSet for this definition on a given user.

***

## Mutations using this input

* [metafield​Definition​Update.definition](https://shopify.dev/docs/api/shop-partners/latest/mutations/metafieldDefinitionUpdate#arguments-definition)

  ARGUMENT

***

## Map

### Mutations using this input

* [metafield​Definition​Update.definition](https://shopify.dev/docs/api/shop-partners/latest/mutations/metafieldDefinitionUpdate#arguments-definition)