---
title: MetafieldDefinitionConstraintValue - GraphQL Admin
description: A constraint subtype value that the metafield definition applies to.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinitionConstraintValue
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinitionConstraintValue.md
api_name: admin
api_type: graphql
type: object
---

# Metafield​Definition​Constraint​Value

object

A constraint subtype value that the metafield definition applies to.

## Fields

* value

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

  non-null

  The subtype value of the constraint.

***

## Map

### Fields and connections with this object

* [MetafieldDefinitionConstraintValueConnection.nodes](https://shopify.dev/docs/api/admin-graphql/latest/connections/MetafieldDefinitionConstraintValueConnection#returns-nodes)
* [MetafieldDefinitionConstraintValueEdge.node](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinitionConstraintValueEdge#field-MetafieldDefinitionConstraintValueEdge.fields.node)
* [MetafieldDefinitionConstraints.values](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinitionConstraints#field-MetafieldDefinitionConstraints.fields.values)
