Delete warehouse
Soft delete a warehouse. Must have no stock items.
X-Api-Key<token>
Business API key, e.g. vuz_ab12cdef... Created via Settings → Integrations → API Keys. Unlike partner keys, a public API key's STRING does not encode its environment — isolation instead comes from a completely separate sandbox database: a key minted on the Sandbox server (above) only ever reads/writes sandbox data and can never see or affect production, regardless of what the key looks like.
In: header
Path Parameters
id*string
Warehouse ID
Header Parameters
x-business-id*string
Business ID
Response Body
curl -X DELETE "https://example.com/inventory/warehouses/string" \ -H "x-business-id: string"Empty

