Delete retailer
DELETE/retailers/:retailerId
Hard-deletes the retailer when nothing references it. When service records or shipments reference it, the row is RETAINED for history and marked deleted + INACTIVE instead. softDeleted says which happened. Service grants do not count — they are config, not history.
Scope: retailers:write
Request
Responses
- 200
- 404
Retailer deleted (hard) or retained for history (soft)
Retailer not found