Inventory API
Warehouses
Delete Warehouse
This API endpoint (DELETE) removes an existing warehouse. If the request succeeds, it returns the id of the deleted warehouse; otherwise, it will return an error.
Permissions: warehouses.remove
Webhook event: warehouse-removed
id * The id of the warehouse to delete.