Developers
Car rental

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.

EventWhenKey scope
rental_booking.creatednew booking — rental website or API (data.source)rental_bookings:read
rental_booking.status_changeddisplayed status changed, whoever made it (API, website, agency, payment, expiry); previous.status = status leftrental_bookings:read
rental_availability.updateda vehicle’s planning changed (reservation, agreement, extension, block)rental:read

1. Subscribe

POST/webhooks/endpoints

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

JSON
{
  "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", "…": "…" }
}
  • data is exactly what GET /car-rental/bookings/{id} would return (or GET /car-rental/vehicles/{id}/availability for availability).
  • rental_availability.updated carries 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.

EventWhenScope
quote.createdQuote created — by the application, the API, the POS or the shop.sales:read
quote.status_changedQuote: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left.sales:read
sales_order.createdCustomer order created — by the application, the API, the POS or the shop.sales:read
sales_order.status_changedCustomer order: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left.sales:read
delivery_note.createdDelivery note created — by the application, the API, the POS or the shop.sales:read
delivery_note.status_changedDelivery note: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left.sales:read
invoice.createdInvoice created — by the application, the API, the POS or the shop.sales:read
invoice.status_changedInvoice: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left.sales:read
invoice.paidInvoice fully paid (balanceDue at 0).sales:read
credit_note.createdCustomer credit note created — by the application, the API, the POS or the shop.sales:read
credit_note.status_changedCustomer credit note: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left.sales:read
purchase_order.createdSupplier purchase order created — by the application, the API, the POS or the shop.purchases:read
purchase_order.status_changedSupplier purchase order: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left.purchases:read
goods_receipt.createdGoods receipt created — by the application, the API, the POS or the shop.purchases:read
goods_receipt.status_changedGoods receipt: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left.purchases:read
purchase_invoice.createdSupplier invoice created — by the application, the API, the POS or the shop.purchases:read
purchase_invoice.status_changedSupplier invoice: status change (validation, sending, delivery, invoicing, payment, cancellation). previous.status gives the status left.purchases:read
purchase_invoice.paidSupplier invoice fully paid (balanceDue at 0).purchases:read
payment.createdPayment recorded (receipt or disbursement), with its allocation to documents.payments:read
partner.createdNew partner (customer, supplier, or both).partners:read
partner.updatedPartner record updated.partners:read
article.createdNew article in the ERP catalogue.articles:read
article.updatedArticle updated (name, price, VAT, archiving…).articles:read
rental_booking.createdNew 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_changedChange 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.updatedPlanning 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.createdNew 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.convertedLead 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.createdNew deal — entered, from a lead conversion, or created through the API.crm:read
crm_deal.stage_changedDeal entered a stage: moved (pipeline board, deal page, API) or reopened. previous.stageId gives the stage left (null on reopening).crm:read
crm_deal.wonDeal won (status: WON, closedAt set, probability 100%).crm:read
crm_deal.lostDeal lost (status: LOST, lostReason filled in).crm:read
project_task.createdNew task (or sub-task) — in the application or through the API.projects:read
project_task.completedTask completed: entered a column of category DONE (board, task page, API). previous.category gives the category left.projects:read
project_timesheet.approvedTimesheet 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