Delete Customer
| Endpoint | Method |
|---|---|
/api/admin/customers/{id} | DELETE |
Active orders guard
CustomerRepository::haveActiveOrders($customer) returns true when any order has status IN ('pending','processing'). Single delete throws HTTP 400 in that case — mirrors the monolith.
Permission: customers.customers.delete.

