Skip to main content
Log inSign up

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.

Was this section helpful?