Anchor to section titled 'undefined'

metafieldDefinitionDelete
mutation

Requires API client to have access to the resource type associated with the metafield definition.

Delete a metafield definition. Optionally deletes all associated metafields asynchronously when specified.


Anchor to deleteAllAssociatedMetafields
deleteAllAssociatedMetafields
default:false

Whether to delete all associated metafields.

The identifier of the metafield definition to delete.


Was this section helpful?

The metafield definition that was deleted.

The ID of the deleted metafield definition.

The list of errors that occurred from executing the mutation.


Was this section helpful?