---
title: "reservation.updated — Webhooks"
canonical: "https://repull.dev/docs/webhooks/reservation-updated"
description: "The reservation.updated webhook: fired when dates, guest count, status or price change on a reservation. Payload, patterns and handler."
updated: "2026-11-30T00:48:58.694Z"
commit: "18314c12fefb59a7545ef7607c0893919de20aa9"
---

# `reservation.updated`

Dates, guest count, status, or pricing changed on an existing reservation.

## When it fires

Fires when any meaningful field on a reservation changes after creation — date shift, guest count update, status transition (e.g. confirmed → checked-in), pricing adjustment, or assigned-listing change.

## Payload

Every delivery uses the same outer envelope (`event`, `eventId`, `apiVersion`, `timestamp`, `account`, `data`, plus a numeric `workspaceId` on events from a [customer workspace](https://repull.dev/docs/webhooks-introduction.md#routing-events-to-a-workspace)). Dedupe on `eventId` — it stays stable across retries and replays, while the `X-Repull-Delivery-Id` header changes on every attempt.

```
{
  "event": "reservation.updated",
  "eventId": "3f1c9a2e-8b7d-4c6a-9e0f-1a2b3c4d5e6f",
  "apiVersion": "2026-04",
  "timestamp": "2026-05-01T12:34:56.000Z",
  "data": {
    "object": {
      "id": 900001,
      "uid": "HMEXAMPLE1",
      "channel": "airbnb",
      "listingId": 5668,
      "customerId": 1,
      "checkinDate": "2026-06-10",
      "checkoutDate": "2026-06-16",
      "status": "confirmed",
      "cancellationPolicy": "firm_14",
      "checkInTime": "16:00",
      "checkOutTime": "10:00"
    },
    "previousAttributes": {
      "checkinDate": "2026-06-11",
      "checkoutDate": "2026-06-16"
    }
  }
}
```

## Verifying signatures

Every delivery includes a timestamped `X-Repull-Signature` header of the form `t=<unix_ts>,v1=<hex>`, where `v1` is ``HMAC-SHA256(signing_secret, `${t}.${raw_body}`)``. Verify it before processing — see [Verify Signatures](https://repull.dev/docs/verify-webhook-signatures.md) for full Node.js and Python examples.

> **Warning: Use the raw body**
>
> Sign the raw request body exactly as received, not a re-stringified JSON object. Re-serialisation can reorder keys or change whitespace and break the signature.

## Example handler

```
if (type === 'reservation.updated') {
  const { id, changes } = data
  if (changes.checkOut) {
    // Date shift — re-issue check-in instructions, re-block the calendar
    console.log('Checkout moved to', changes.checkOut.to)
  }
  if (changes.pricing) {
    // Re-charge the difference, update the owner statement
  }
}
```

## Common patterns

- The changes object only contains fields that actually changed. Diff against your last-known state — do not assume any specific field will be present in every delivery.
- Fetch the full reservation after a change. The changes diff is enough to know what shifted, but downstream systems (CRM, accounting, cleaning rota) should reconcile against GET /v1/reservations/{id}.
- Best-effort ordering — a reservation.updated and a payment.completed for the same reservation may arrive out of order. Reconcile against the latest API state when ordering matters.

## Related

- [Full event catalog](https://repull.dev/docs/webhooks/event-types.md)
- [reservation.created](https://repull.dev/docs/webhooks/reservation-created.md)
- [reservation.cancelled](https://repull.dev/docs/webhooks/reservation-cancelled.md)
- [Update a reservation](https://repull.dev/docs/update-reservation.md)
- [Verify webhook signatures](https://repull.dev/docs/verify-webhook-signatures.md)

**Tip:** Acknowledge with a 2xx status within 10 seconds. Failed deliveries are retried 7 times over 24 hours, with backoff.[Webhook reliability →](https://repull.dev/docs/webhooks-introduction.md)
