Skip to content
Pyck docs

You are reading the Dev docs (main @ e991a08). They can differ from the released product.Dev docs, not the release

Switch to LatestLatest

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>"
}