Skip to main content

Delete Warehouse

DELETE 

/api/warehouses/:warehouse

Deletes a warehouse. A warehouse that is referenced by inventory, orders, or other records cannot be deleted; the response lists the linked record types blocking deletion. Use Check Warehouses Deletable first to verify deletability.

Required scope: warehouses:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type