Customers and vehicles

Customers, contacts, consent, VIN decoding, recalls and odometer history.

A customer has contacts with per-channel texting consent, and STOP is honoured. Contact values are stored as keyed hashes for search. A vehicle has a VIN checked by its check digit, decoded through NHTSA, checked for open recalls, and an odometer history. Staff create a customer portal link from the customer record.

Pages

PageRouteWhat it shows
Customers/dashboard/platform/customersCustomers, contacts and consent history.
Vehicles/dashboard/platform/vehiclesVIN decode, recalls, ownership and odometer history.

Lifecycles

ListStatuses
Customeractive, merged, archived
CustomerContactactive, bounced, invalid
Vehicleactive, sold, scrapped, merged

Commands

Named mutations for this area. Each checks permissions on the server, takes an idempotency key and writes an audit event.

saveCustomer, addCustomerContact, recordContactConsent, saveVehicle, linkVehicleOwner, recordOdometerReading, decodeVehicleVin, checkVehicleRecalls, createCustomerPortalLink.

On this page