Skip to main content
Anchor to MetafieldDefinitionIdentifier

MetafieldDefinitionIdentifier

object

Identifies a metafield definition by its owner type, namespace, and key.

•
String!non-null

The unique identifier for the metafield definition within its namespace.

•
String!non-null

The container for a group of metafields that the metafield definition is associated with.

•

The resource type that the metafield definition is attached to.


Was this section helpful?

•
mutation

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

Arguments

Anchor to deleteAllAssociatedMetafieldsdeleteAllAssociatedMetafields
•
BooleanDefault:false

Whether to delete all associated metafields.

•

The id of the metafield definition to delete. Using identifier is preferred.

•

The identifier of the metafield definition to delete.


Fields

•

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?