warehouseDelete
Permanently delete a warehouse from the system.
Removes the warehouse and all associated data. This action cannot be undone and will affect inventory management and logistics operations that depend on this warehouse.
Possible errors:
- WAREHOUSE_NOT_FOUND_ERROR: Warehouse with the specified ID does not exist
- WAREHOUSE_DELETE_ERROR: Failed to delete the warehouse
- FORBIDDEN: Insufficient permissions to delete warehouses
AUTH: Role=[logistics.OWNER]
warehouseDelete(
id: Float!
): Warehouse!
Arguments
warehouseDelete.id
● Float!
non-null scalar
Unique identifier of the warehouse to delete.
Must be a positive integer representing a valid warehouse ID in the system.
Type
Warehouse
object
Warehouse facility for inventory storage and logistics operations.
Represents a physical or virtual warehouse location used for storing inventory, processing orders, and managing logistics operations. Includes operational settings, business hours, and address information.