deleteInventoryWarehouseLocation
The method allows you to delete a single warehouse location from a Base inventory warehouse. The location is identified by location_id and must belong to the warehouse identified by warehouse_type + warehouse_id.
Input parameters
Output data:
A sample request in PHP:
| warehouse_id | int | Warehouse identifier returned by getInventoryWarehouses (the warehouse_id field). The location must belong to this warehouse. |
| warehouse_type | varchar(20) | Warehouse type returned by getInventoryWarehouses (the warehouse_type field). |
| location_id | int | ID of the location to delete (the value of location_id returned by getInventoryWarehouseLocations). |
Output data
The method returns the data in JSON format.
| status | varchar(30) | SUCCESS - request executed correctly ERROR - an error occurred during an API request. Error details will be described in 2 additional returned fields: error_message and error_code |
Sample
Input data:Output data:
A sample request in PHP: