DeleteStorageLocationCommandRequestInput
Deletes a storage location. A location that is still needed is refused with the blockers named in the error; ask ‘allowed-actions’ beforehand. A location that has a history, that is stock or stock movements ever booked on it, is never deleted, for reasons of audit; deactivate it instead. errorCode is one of: WAREHOUSE_NOT_FOUND or STORAGE_LOCATION_NOT_FOUND (the warehouse or the storage location was not found); WAREHOUSE_TYPE_DOES_NOT_SUPPORT_STORAGE_LOCATIONS (the warehouse has no storage locations: only warehouses with storage location management have them); STORAGE_LOCATION_CANNOT_BE_DELETED (the location cannot be deleted. The error lists the blocker codes: STORAGE_LOCATION_NOT_ACTIVE, STORAGE_LOCATION_HAS_STOCK, STORAGE_LOCATION_HAS_HISTORY, STORAGE_LOCATION_IS_SYSTEM_LOCATION, STORAGE_LOCATION_IS_LAST_GOODS_RECEIPT_LOCATION, STORAGE_LOCATION_IS_SPECIAL_LOCATION, STORAGE_LOCATION_INVENTORY_LOCKED). - Request
DeleteStorageLocationCommandRequestInputFields
The ID of the warehouse.
The ID of the storage location.
Was this page helpful?