Skip to content

deleteInventoryCollection

Served by: inventory

Name Type
id ID!

InventoryCollectionDeletePayload!

Deletes an inventory collection. Only possible if the collection has no movements. Delete all item and repository movements first before deleting the collection.

mutation DeleteInventoryCollection($id: ID!) {
deleteInventoryCollection(id: $id) {
deletedID
eventCount
transactionID
}
}

Variables

{
"id": "<collection ID>"
}