Anchor to MetafieldDefinitionIdentifierMetafield
objectMetafield 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.
Was this section helpful?
Anchor to MutationsMutations
- •mutation
Delete a metafield definition. Optionally deletes all associated metafields asynchronously when specified.
- Anchor to deleteAllAssociatedMetafieldsdelete•BooleanDefault:false
All Associated Metafields Whether to delete all associated metafields.
- •ID
The id of the metafield definition to delete. Using
identifier
is preferred.- Anchor to identifieridentifier•Metafield
Definition Identifier Input The identifier of the metafield definition to delete.
Arguments
- Anchor to deletedDefinitiondeleted•Metafield
Definition Definition Identifier The metafield definition that was deleted.
- Anchor to deletedDefinitionIddeleted•ID
Definition Id The ID of the deleted metafield definition.
- Anchor to userErrorsuser•[Metafield
Errors Definition Delete User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
Was this section helpful?