deleteInventoryCollection
Served by: inventory
Arguments
Section titled “Arguments”| Name | Type |
|---|---|
id |
ID! |
Returns
Section titled “Returns”InventoryCollectionDeletePayload!
Example
Section titled “Example”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>"}