Not able to update MetafieldDefinition.validations field

Hello!

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!

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