Metafield Definition Identifier
Identifies a metafield definition by its owner type, namespace, and key.
Anchor to FieldsFields
- •String!non-null
The unique identifier for the metafield definition within its namespace.
- Anchor to namespacenamespace•String!non-null
The container for a group of metafields that the metafield definition is associated with.
- Anchor to ownerTypeowner•Metafield
Type Owner Type! non-null The resource type that the metafield definition is attached to.
Anchor to MutationsMutations
- •mutation
Deletes a
. You can identify the definition by providing either its owner type, namespace, and key, or its global ID.When you set
totrue, the mutation asynchronously deletes allMetafieldobjects that use this definition. This option must betruewhen deleting definitions under the$appnamespace.Learn more about deleting metafield definitions.
- •ID
The id of the metafield definition to delete. Using
identifieris preferred.- Anchor to identifieridentifier•Metafield
Definition Identifier Input The identifier of the metafield definition to delete.
- Anchor to deleteAllAssociatedMetafieldsdelete•Boolean
All Associated Metafields Default:false Whether to delete all associated metafields.
Arguments