Anchor to MetafieldDefinitionIdentifierMetafield
Metafield Definition Identifier
object
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•
Type MetafieldOwner 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•
All Associated Metafields BooleanDefault:false Whether to delete all associated metafields.
- •
The id of the metafield definition to delete. Using
identifier
is preferred.- Anchor to identifieridentifier•
The identifier of the metafield definition to delete.
Arguments
- Anchor to deletedDefinitiondeleted•
Definition The metafield definition that was deleted.
- Anchor to deletedDefinitionIddeleted•
Definition Id The ID of the deleted metafield definition.
- Anchor to userErrorsuser•
Errors The list of errors that occurred from executing the mutation.
Fields
Was this section helpful?