inventoryDelete
Permanently delete an inventory record from the system.
Removes the inventory record and all associated data. This action cannot be undone and will affect stock availability calculations and inventory reporting.
Possible errors:
- INVENTORY_NOT_FOUND_ERROR: Inventory record with the specified ID does not exist
- INVENTORY_DELETE_ERROR: Failed to delete the inventory record
- FORBIDDEN: Insufficient permissions to delete inventory records
AUTH: Role=[logistics.OWNER]
inventoryDelete(
id: Int!
): InventoryDeleteResponse!
Arguments
inventoryDelete.id ● Int! non-null scalar
Unique identifier of the inventory record to delete.
Must be a positive integer representing a valid inventory ID in the system.
Type
InventoryDeleteResponse object
Response returned if delete inventory was successful.