---
title: Update validations of a metafield definition - Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: 'https://shopify.dev/changelog/update-validations-of-a-metafield-definition'
  md: >-
    https://shopify.dev/changelog/update-validations-of-a-metafield-definition.md
metadata:
  effectiveApiVersion: 2023-04
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2023-03-14T10:42:32-04:00'
  postedAt: '2023-04-01T00:00:00-04:00'
  updatedAt: '2024-12-13T17:24:37-05:00'
  effectiveAt: '2023-04-01T00:00:00-04:00'
---

April 1, 2023

Tags:

* API
* 2023-04

# Update validations of a metafield definition

As of GraphQL Admin API Version `2023-04` you can use the field `MetafieldDefintionInput.validations` to change the validations of a metafield definition.

Also, as of GraphQL Admin API Version `2023-04`, you can query the field `MetafieldDefinitionUpdatePayload.validationJob` to get the details of the job running to validate existing metafields for the metafield definition.

Learn more about { Metafields } on [Shopify.dev](https://shopify.dev/api/admin-graphql/2022-10/objects/Metafield).
