Anchor to metafieldsDeletemetafields
mutationmetafields Delete
Requires access defined by each metafield input scalar's type in a field.
For example, setting a metafield on a requires the same access as mutating a .
Deletes Metafield objects in bulk by specifying combinations of owner ID, namespace, and key.
Returns the identifiers of successfully deleted metafields. If a specified metafield doesn't exist, then the mutation still succeeds but returns null for that identifier in the response.
Anchor to Arguments
Arguments
- Anchor to metafieldsmetafields•[Metafield
Identifier Input!]! required A list of identifiers specifying metafields to delete. At least one identifier must be specified.
Was this section helpful?
- Anchor to deletedMetafieldsdeleted•[Metafield
Metafields Identifier] List of metafield identifiers that were deleted, null if the corresponding metafield isn't found.
- Anchor to userErrorsuser•[User
Errors Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?