Skip to content
Pyck docs

deleteInventoryCollection

Since pyck v0.27.0

Served by: inventory

Name Type Default Description
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>"
}