Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to MetafieldDefinitionCreateUserError

MetafieldDefinitionCreateUserError

object

An error that occurs during the execution of MetafieldDefinitionCreate.

•

The error code.

•

The path to the input field that caused the error.

•
String!non-null

The error message.


Was this section helpful?

•
mutation

Creates a metafield definition. Any metafields existing under the same owner type, namespace, and key will be checked against this definition and will have their type updated accordingly. For metafields that are not valid, they will remain unchanged but any attempts to update them must align with this definition.


Was this section helpful?


Was this section helpful?