API documentation
Method list
Test your request
Changelog


deleteInventoryWarehouseLocationType
The method allows you to delete a single warehouse location type. The default location type cannot be deleted.


Input parameters
location_type_idintID of the location type to delete (the value of location_type_id returned by getInventoryWarehouseLocationTypes).



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: