Website events
How visitors move through the quote on the website, read from the quotes and payment steps the backend already records. Abandoned means they opened checkout (or the card failed) and haven't paid after a day.
Abandoned at checkout—0 had a card fail
By service
| Service | Started | Saved | Priced | Checkout | Paid | Abandoned |
|---|---|---|---|---|---|---|
Quotes started per day
bar = started, dark = paidAbandoned at checkout
worth a call| Quote | Service | Last step |
|---|
Latest events
| When | Quote | What happened |
|---|
GET /api/public/availability
the date picker reads this · computed from live bookings{
"limit_default": 5,
"days": [
{
"date": "2026-11-27",
"booked": 0,
"limit": 5,
"status": "open"
},
{
"date": "2026-11-28",
"booked": 0,
"limit": 5,
"status": "open"
},
{
"date": "2026-11-29",
"booked": 0,
"limit": 5,
"status": "open"
},
{
"date": "2026-11-30",
"booked": 0,
"limit": 5,
"status": "open"
},
{
"date": "2026-12-01",
"booked": 0,
"limit": 5,
"status": "open"
},
{
"date": "2026-12-02",
"booked": 0,
"limit": 5,
"status": "open"
},
{
"date": "2026-12-03",
"booked": 0,
"limit": 5,
"status": "open"
},
{
"date": "2026-12-04",
"booked": 0,
"limit": 5,
"status": "open"
},
{
"date": "2026-12-05",
"booked": 0,
"limit": 5,
"status": "open"
},
{
"date": "2026-12-06",
"booked": 0,
"limit": 5,
"status": "open"
},
{
"date": "2026-12-07",
"booked": 0,
"limit": 5,
"status": "open"
},
{
"date": "2026-12-08",
"booked": 0,
"limit": 5,
"status": "open"
},
{
"date": "2026-12-09",
"booked": 0,
"limit": 5,
"status": "open"
},
{
"date": "2026-12-10",
"booked": 0,
"limit": 5,
"status": "open"
}
]
}Crew app endpoints in use today
| Call | What it does |
|---|---|
GET /jobs/moving · /jobs/cleaning | Open jobs a driver or cleaner can claim (live today) |
POST /jobs/moving/:quoteId/claim · /decline | Claim or decline a job (live today) |
POST /jobs/:jobId/complete | Mark a job complete (live today) |
GET · POST /jobs/:jobRef/media | Job photos and videos (live today) |
POST /profile/withdraw | Payout request → Crew payouts (live today) |
Crew app endpoints to build
/api/crew/*, one login per person, every call idempotent| Call | What the CRM does |
|---|---|
GET /api/crew/me/jobs | Today's and upcoming jobs for this person, with the job sheet fields |
GET /api/crew/offers | Open offers for this person |
POST /api/crew/offers/:id/accept | Re-runs the allocation guard (documents, clash, availability, crew full). Returns 409 with the reason if it fails |
POST /api/crew/offers/:id/decline | Frees the slot, offer stays in the audit log |
POST /api/crew/jobs/:id/status | on the way, arrived, started, finished, in order only. 'On the way' sets the crew-set-off flag |
POST /api/crew/jobs/:id/photos | Before and after photos, kept for the media retention period |
POST /api/crew/jobs/:id/incidents | Extra work → Sales re-quote; no access → cancellation policy; damage → Operations and owner |
POST /api/crew/documents | Upload a document and expiry. Lands as 'review' for Operations to check |
PUT /api/crew/me/profile | Phone, email, address, emergency contact, areas. Saves straight away, audited |
POST /api/crew/me/change-requests | Name, bank, vehicle: becomes a request on the Crew page for Operations to approve or reject |
PUT /api/crew/me/availability | Usual week (soft) and days off (hard: blocks allocation and offers; 409 if already allocated) |
GET /api/crew/pay | 3.0 only: pay per job and payout status |
New tables: crew_offers, job_progress, job_photos, crew_availability (weekly + days off), crew_incidents, crew_profiles, crew_change_requests. crew_pay and the Friday payout arrive with 3.0 (D-19). Raw payload is stored before it is processed.
