Anchor to MetafieldDefinitionDeletePayloadMetafield
payloadMetafield Definition Delete Payload
Return type for mutation.
Anchor to FieldsFields
- deletedDefinition (MetafieldDefinitionIdentifier)
- deletedDefinitionId (ID)
- userErrors ([MetafieldDefinitionDeleteUserError!]!)
- 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.
Was this section helpful?
Anchor to Mutations with this payloadMutations with this payload
- metafieldDefinitionDelete (MetafieldDefinitionDeletePayload)
- •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
Was this section helpful?