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 MetafieldDefinitionDeleteUserErrorCode

MetafieldDefinitionDeleteUserErrorCode

enum

Possible error codes that can be returned by MetafieldDefinitionDeleteUserError.

Anchor to DISALLOWED_OWNER_TYPEDISALLOWED_OWNER_TYPE
•

Owner type can't be used in this mutation.

Anchor to ID_TYPE_DELETION_ERRORID_TYPE_DELETION_ERROR
•

Deleting an id type metafield definition requires deletion of its associated metafields.

•

An internal error occurred.

Anchor to METAFIELD_DEFINITION_IN_USEMETAFIELD_DEFINITION_IN_USE
•

Action cannot proceed. Definition is currently in use.

•

Definition not found.

•

The input value needs to be blank.

Anchor to REFERENCE_TYPE_DELETION_ERRORREFERENCE_TYPE_DELETION_ERROR
•

Deleting a reference type metafield definition requires deletion of its associated metafields.

Anchor to RESERVED_NAMESPACE_ORPHANED_METAFIELDSRESERVED_NAMESPACE_ORPHANED_METAFIELDS
•

Deleting a definition in a reserved namespace requires deletion of its associated metafields.


Was this section helpful?