# MetafieldDefinitionUpdateInput - admin - INPUT_OBJECT
Version: 2025-01

## Description
The input fields required to update a metafield definition.

### Access Scopes



## Fields
* [access](/docs/api/admin/2025-01/input-objects/MetafieldAccessUpdateInput): MetafieldAccessUpdateInput - The access settings that apply to each of the metafields that belong to the metafield definition.
* [capabilities](/docs/api/admin/2025-01/input-objects/MetafieldCapabilityUpdateInput): MetafieldCapabilityUpdateInput - The capabilities of the metafield definition.
* [constraintsUpdates](/docs/api/admin/2025-01/input-objects/MetafieldDefinitionConstraintsUpdatesInput): MetafieldDefinitionConstraintsUpdatesInput - The constraints that determine what resources a metafield definition applies to.
* [description](/docs/api/admin/2025-01/scalars/String): String - The description for the metafield definition.
* [key](/docs/api/admin/2025-01/scalars/String): String! - The unique identifier for the metafield definition within its namespace. Used to help identify the metafield
definition, but can't be updated itself.
* [name](/docs/api/admin/2025-01/scalars/String): String - The human-readable name for the metafield definition.
* [namespace](/docs/api/admin/2025-01/scalars/String): String - The container for a group of metafields that the metafield definition is associated with. Used to help identify
the metafield definition, but cannot be updated itself. If omitted, the app-reserved namespace will be used.
* [ownerType](/docs/api/admin/2025-01/enums/MetafieldOwnerType): MetafieldOwnerType! - The resource type that the metafield definition is attached to. Used to help identify the metafield definition,
but can't be updated itself.
* [pin](/docs/api/admin/2025-01/scalars/Boolean): Boolean - Whether to pin the metafield definition.
* [useAsCollectionCondition](/docs/api/admin/2025-01/scalars/Boolean): Boolean - Whether the metafield definition can be used as a collection condition.
* [validations](/docs/api/admin/2025-01/input-objects/MetafieldDefinitionValidationInput): MetafieldDefinitionValidationInput - A list of [validation options](https://shopify.dev/apps/metafields/definitions/validation) for
the metafields that belong to the metafield definition. For example, for a metafield definition with the
type `date`, you can set a minimum date validation so that each of the metafields that belong to it can only
store dates after the specified minimum.


## Input objects with this input object
* [metafieldDefinitionUpdate](/docs/api/admin/2025-01/mutations/metafieldDefinitionUpdate)


## Examples