Deletes a warehouse. The last warehouse of the company cannot be deleted; in that case, the endpoint returns 422.
422
cURL
curl --request DELETE \ --url https://app.fintoro.sk/api/public/v1/warehouses/{warehouse} \ --header 'Authorization: Bearer <token>'
{ "message": "No query results for model." }
Bearer token created for a specific company in Integrations → API.
Warehouse ID.
301
Warehouse deleted.