# MetafieldDefinitionConstraintsUpdatesInput - admin - INPUT_OBJECT Version: 2025-01 ## Description The input fields required to update metafield definition [constraints](https://shopify.dev/apps/build/custom-data/metafields/conditional-metafield-definitions). Each constraint applies a metafield definition to a subtype of a resource. ### Access Scopes ## Fields * [key](/docs/api/admin/2025-01/scalars/String): String - The category of resource subtypes that the definition applies to. If omitted and the definition is already constrained, the existing constraint key will be used. If set to `null`, all constraints will be removed. * [values](/docs/api/admin/2025-01/input-objects/MetafieldDefinitionConstraintValueUpdateInput): MetafieldDefinitionConstraintValueUpdateInput - The specific constraint subtype values to create or delete. ## Input objects with this input object * [MetafieldDefinitionUpdateInput](/docs/api/admin/2025-01/input-objects/MetafieldDefinitionUpdateInput) ## Examples