deleteInventoryItem
Since pyck v0.27.0
Served by: inventory
Arguments
Section titled “Arguments”| Name | Type | Default | Description |
|---|---|---|---|
id |
ID! |
Returns
Section titled “Returns”Example
Section titled “Example”Soft-deletes an inventory item by ID.
mutation DeleteInventoryItem($id: ID!) { deleteInventoryItem(id: $id) { deletedID eventCount transactionID }}Variables
{ "id": "<item id to delete>"}