Anchor to MetafieldDefinitionDeletePayloadMetafield
payloadMetafield Definition Delete Payload
Return type for mutation.
Anchor to FieldsFields
- 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
- •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.
Was this section helpful?