API documentation
Method list
Test your request
Changelog


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
warehouse_idintWarehouse identifier returned by getInventoryWarehouses (the warehouse_id field). The location must belong to this warehouse.
warehouse_typevarchar(20)Warehouse type returned by getInventoryWarehouses (the warehouse_type field).
location_idintID of the location to delete (the value of location_id returned by getInventoryWarehouseLocations).



Output data
The method returns the data in JSON format.
statusvarchar(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: