Receive rental webhooks
New booking, status change, availability: subscribe, verify, deduplicate.
A channel manager, a comparison site or your CRM needs to know right away that a booking arrived, that it changed status, that a vehicle is no longer free — without polling the API. Three events tell it, signed like every QuoSuite webhook.
| Event | When | Key scope |
|---|---|---|
rental_booking.created | new booking — rental website or API (data.source) | rental_bookings:read |
rental_booking.status_changed | displayed status changed, whoever made it (API, website, agency, payment, expiry); previous.status = status left | rental_bookings:read |
rental_availability.updated | a vehicle’s planning changed (reservation, agreement, extension, block) | rental:read |
1. Subscribe
curl -X POST 'https://quosuite.com/api/public/v1/quosuite/webhooks/endpoints' \
-H "Authorization: Bearer $QUOSUITE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"url": "https://channel.example.com/hooks/quosuite",
"events": [
"rental_booking.created",
"rental_booking.status_changed",
"rental_availability.updated"
],
"description": "Channel manager"
}'The secret (whsec_…) is returned only at creation. You only receive what the key can read: without rental_bookings:read, subscribing to bookings is refused (403).
2. What arrives
{
"id": "evt_9c1d2e3f4a5b6c7d8e9f0a1b",
"type": "rental_booking.status_changed",
"apiVersion": "v1",
"perimeter": "QUOSUITE",
"createdAt": "2026-12-20T09:12:00.000Z",
"previous": { "status": "CONFIRMED" },
"data": { "id": "9f8e7d6c-…", "number": "RES-2026-0042", "status": "IN_PROGRESS", "…": "…" }
}datais exactly whatGET /car-rental/bookings/{id}would return (orGET /car-rental/vehicles/{id}/availabilityfor availability).rental_availability.updatedcarries the vehicle’s availability at the time of sending, over the next 90 days: close changes are grouped into one delivery. Occupations carry no customer name and no document number.- One event per booking and per change: a posting that confirms, creates the agreement and invoices in one go produces one
status_changed.
3. Verify, deduplicate, respond
Verify X-QuoSuite-Signature on the raw body, answer 2xx within 10 s, process afterwards:
app.post('/hooks/quosuite', express.raw({ type: 'application/json' }), async (req, res) => {
if (!verifySignature(req.body, req.get('X-QuoSuite-Signature'), process.env.QUOSUITE_WEBHOOK_SECRET)) {
return res.sendStatus(401);
}
const event = JSON.parse(req.body.toString('utf8'));
res.sendStatus(200);
if (await seen(event.id)) return; // at least once: skip an evt_… already processed
switch (event.type) {
case 'rental_booking.created':
case 'rental_booking.status_changed':
await upsertBooking(event.data); // arrival order is not guaranteed: compare data.updatedAt
break;
case 'rental_availability.updated':
await refreshCalendar(event.data.vehicleId, event.data.busy);
break;
}
});The verifySignature / quosuite_verify_signature function is the one from the webhooks guide.
| Event | When | Scope |
|---|---|---|
quote.created | Quote created — by the application, the API, the POS or the shop. | sales:read |
quote.status_changed | Quote: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left. | sales:read |
sales_order.created | Customer order created — by the application, the API, the POS or the shop. | sales:read |
sales_order.status_changed | Customer order: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left. | sales:read |
delivery_note.created | Delivery note created — by the application, the API, the POS or the shop. | sales:read |
delivery_note.status_changed | Delivery note: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left. | sales:read |
invoice.created | Invoice created — by the application, the API, the POS or the shop. | sales:read |
invoice.status_changed | Invoice: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left. | sales:read |
invoice.paid | Invoice fully paid (balanceDue at 0). | sales:read |
credit_note.created | Customer credit note created — by the application, the API, the POS or the shop. | sales:read |
credit_note.status_changed | Customer credit note: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left. | sales:read |
purchase_order.created | Supplier purchase order created — by the application, the API, the POS or the shop. | purchases:read |
purchase_order.status_changed | Supplier purchase order: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left. | purchases:read |
goods_receipt.created | Goods receipt created — by the application, the API, the POS or the shop. | purchases:read |
goods_receipt.status_changed | Goods receipt: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left. | purchases:read |
purchase_invoice.created | Supplier invoice created — by the application, the API, the POS or the shop. | purchases:read |
purchase_invoice.status_changed | Supplier invoice: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left. | purchases:read |
purchase_invoice.paid | Supplier invoice fully paid (balanceDue at 0). | purchases:read |
payment.created | Payment recorded (receipt or disbursement), with its allocation to documents. | payments:read |
partner.created | New partner (customer, supplier, or both). | partners:read |
partner.updated | Partner record updated. | partners:read |
article.created | New article in the ERP catalogue. | articles:read |
article.updated | Article updated (name, price, VAT, archiving…). | articles:read |
rental_booking.created | New rental booking — placed on the rental website or created through the API (source). The vehicle is already held in the planning. | rental_bookings:read |
rental_booking.status_changed | Change of a booking’s displayed status (PENDING_PAYMENT, REQUESTED, CONFIRMED, IN_PROGRESS, RETURNED, CANCELLED, EXPIRED) — whether it comes from the API, the website, the payment, the agency or the expiry of the hold. previous.status gives the status left. | rental_bookings:read |
rental_availability.updated | Planning of a vehicle changed (reservation created, moved, cancelled; agreement opened, closed, extended; block). Close changes are grouped: data is always the availability at the time of sending (next 90 days). | rental:read |
crm_lead.created | New lead — entered in the application, imported from a file or created through the API (a website form…). The “new lead” automations run separately: the assignment may follow a few moments later. | crm_leads:read |
crm_lead.converted | Lead converted: data.conversion gives the account, contact, ERP customer record and deal created or reused (the deal also triggers crm_deal.created). | crm_leads:read |
crm_deal.created | New deal — entered, from a lead conversion, or created through the API. | crm:read |
crm_deal.stage_changed | Deal entered a stage: moved (pipeline board, deal page, API) or reopened. previous.stageId gives the stage left (null on reopening). | crm:read |
crm_deal.won | Deal won (status: WON, closedAt set, probability 100%). | crm:read |
crm_deal.lost | Deal lost (status: LOST, lostReason filled in). | crm:read |
project_task.created | New task (or sub-task) — in the application or through the API. | projects:read |
project_task.completed | Task completed: entered a column of category DONE (board, task page, API). previous.category gives the category left. | projects:read |
project_timesheet.approved | Timesheet fully approved (all its entries approved or invoiced): the time is ready to bill or to carry into payroll. A partial approval sends nothing. | project_time:read |