Retailers
The shops and trade accounts that send you jobs.
List retailers
List the shops that sold this company's customers their items. Use activeOnly=true for ACTIVE only; search matches name, email or postcode.
Create retailer
Create a retailer, optionally with an address. The retailer has no password until an invite is consumed, so `hasLogin` is false.
Update retailer
Update a retailer and/or its address. An address change is copy-on-write: a NEW address row is created and the retailer repointed, so historical shipments keep the address they were actually sent to.
Delete retailer
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.