Not able to update MetafieldDefinition.validations field

Shopify Partner
1 0 0


We're using the GraphQl API to create and update MetafieldDefinitions.
The issue we're facing right now is that the metafieldDefinitionUpdate mutation doesn't allow to update the validations field.

This is an issue for us specially because we won't be able to update dropdown values for the metafield definitions.


Is there any endpoint or any way to update a MetafieldDefinitionValidation ?


Thanks in advance!

Reply 1 (1)

Shopify Staff
1408 231 484

Hey @GOAT_GROUP - I was able to look into this for you and have an update! I spoke with members of our product team responsible for the metafields component and they confirmed that at the moment the mutation doesn't allow the use of the validations field, but that they will work on adding that functionality in an upcoming release for the API. I can't guarantee a timeline, but I can confirm that this is part of our near-term roadmap. 

Thanks for mentioning this and bringing this to our attention - it's really appreciated. Let me know if we can clarify anything on our end. 

Al | Shopify Developer Support

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit or the Shopify Web Design and Development Blog