---
updatedAt: 2026-06-12T17:04:54.000Z
agentTools:
  projectIndex: https://docs.hosttools.com/llms.txt
---

# Update Reservation

Updates reservation details including guest information, check-in/out times, and notes. On internal and direct reservations it can also move the dates and change the guest count and payout.

The updated values are stored with the reservation and will be used when:
- Generating messages (message tags like {{Check-In Time}}, {{Guest First Name}}, etc.
  will reflect the updated values)
- Calculating lock code access periods (custom check-in/out times affect when codes are valid)

`startDate`, `endDate`, `guests`, `hostPayout` and `guestPrice` can only be changed on reservations with source `internal` or `direct`. Sending any of them for a channel reservation (Airbnb, VRBO, Booking.com, etc.) returns a 400; change those on the channel and Host Tools picks the change up.

Moving the dates re-checks availability: the request is rejected with a 400 if the new dates overlap another reservation on the listing. Scheduled messages and lock codes follow the new dates, and so does the calendar on connected channels when Host Tools syncs the listing's availability. The payout is not recalculated, and a direct booking's Stripe payment is not re-charged or refunded; send `hostPayout` and `guestPrice` if they changed.


# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.30.0",
    "title": "Host Tools API Reference",
    "description": "Host Tools API. Supports two authentication methods:\n- **Legacy auth token**: Pass the `authToken` header with your user token\n- **OAuth 2.0 Bearer token**: Pass `Authorization: Bearer <token>` header (see OAuth endpoints below)\n\nOAuth 2.0 is recommended for new integrations. It supports granular scopes and automatic token refresh.\n",
    "contact": {
      "name": "Tom Krones",
      "email": "support@hosttools.com",
      "url": "https://hosttools.com"
    }
  },
  "servers": [
    {
      "url": "https://app.hosttools.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "OAuth2 Access Token",
        "description": "OAuth 2.0 access token obtained via the authorization code flow"
      },
      "authToken": {
        "type": "apiKey",
        "in": "header",
        "name": "authToken",
        "description": "Legacy user authentication token (UUID)"
      }
    },
    "schemas": {
      "ErrorModel": {
        "required": [
          "message"
        ],
        "properties": {
          "message": {
            "type": "string"
          }
        }
      },
      "Success": {
        "required": [
          "success"
        ],
        "properties": {
          "success": {
            "type": "boolean"
          }
        }
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    },
    {
      "authToken": []
    }
  ],
  "paths": {
    "/api/setReservation/{reservationID}": {
      "post": {
        "summary": "Update Reservation",
        "description": "Updates reservation details including guest information, check-in/out times, and notes. On internal and direct reservations it can also move the dates and change the guest count and payout.\n\nThe updated values are stored with the reservation and will be used when:\n- Generating messages (message tags like {{Check-In Time}}, {{Guest First Name}}, etc.\n  will reflect the updated values)\n- Calculating lock code access periods (custom check-in/out times affect when codes are valid)\n\n`startDate`, `endDate`, `guests`, `hostPayout` and `guestPrice` can only be changed on reservations with source `internal` or `direct`. Sending any of them for a channel reservation (Airbnb, VRBO, Booking.com, etc.) returns a 400; change those on the channel and Host Tools picks the change up.\n\nMoving the dates re-checks availability: the request is rejected with a 400 if the new dates overlap another reservation on the listing. Scheduled messages and lock codes follow the new dates, and so does the calendar on connected channels when Host Tools syncs the listing's availability. The payout is not recalculated, and a direct booking's Stripe payment is not re-charged or refunded; send `hostPayout` and `guestPrice` if they changed.\n",
        "tags": [
          "Reservations"
        ],
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "OAuth 2.0 Bearer token (e.g. 'Bearer abc123'). Preferred over authToken for new integrations.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apiKey",
            "in": "header",
            "description": "Partner API key (deprecated — use OAuth 2.0 for new integrations)",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "authToken",
            "in": "header",
            "description": "User's authentication token (legacy). Use Authorization Bearer header for new integrations.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reservationID",
            "in": "path",
            "description": "_id of reservation to update",
            "required": true,
            "schema": {
              "type": "string",
              "example": "5e1f9b9b9b9b9b9b9b9b9b9b9"
            }
          }
        ],
        "requestBody": {
          "description": "Reservation update fields",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "guideBookURL": {
                    "type": "string",
                    "nullable": true,
                    "description": "URL of the guidebook"
                  },
                  "verificationURL": {
                    "type": "string",
                    "nullable": true,
                    "description": "URL of the verification"
                  },
                  "verificationStatus": {
                    "type": "string",
                    "nullable": true,
                    "description": "Status of the verification",
                    "enum": [
                      "signed",
                      "approved"
                    ]
                  },
                  "incidentURL": {
                    "type": "string",
                    "nullable": true,
                    "description": "URL of the incident"
                  },
                  "firstName": {
                    "type": "string",
                    "description": "Guest's first name (used in {{Guest First Name}} tag)",
                    "example": "John"
                  },
                  "lastName": {
                    "type": "string",
                    "description": "Guest's last name (used in {{Guest Last Name}} tag)",
                    "example": "Doe"
                  },
                  "email": {
                    "type": "string",
                    "description": "Guest's email address",
                    "example": "john.doe@example.com"
                  },
                  "phone": {
                    "type": "string",
                    "description": "Guest's phone number (used in {{Guest Phone}} and {{Guest Lock Code}} tags)",
                    "example": "+1-555-123-4567"
                  },
                  "accessCode": {
                    "type": "string",
                    "nullable": true,
                    "description": "Custom smart lock code. Set to null or empty string to clear and use auto-generated code.",
                    "example": "1234"
                  },
                  "checkInTime": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 23,
                    "description": "Custom check-in time in hours (0-23), used in {{Check-In Time}} tag and lock code scheduling",
                    "example": 15
                  },
                  "checkOutTime": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 23,
                    "description": "Custom check-out time in hours (0-23), used in {{Check-Out Time}} tag and lock code scheduling",
                    "example": 11
                  },
                  "notes": {
                    "type": "string",
                    "description": "Internal notes for the reservation (used in {{Notes}} tag)",
                    "example": "Guest celebrating anniversary"
                  },
                  "startDate": {
                    "type": "string",
                    "format": "date",
                    "description": "New check-in date (YYYY-MM-DD). Internal and direct reservations only. Can be sent without endDate to keep the current check-out.",
                    "example": "2027-01-10"
                  },
                  "endDate": {
                    "type": "string",
                    "format": "date",
                    "description": "New check-out date (YYYY-MM-DD), after startDate. Internal and direct reservations only. Can be sent without startDate to keep the current check-in.",
                    "example": "2027-01-13"
                  },
                  "guests": {
                    "type": "object",
                    "description": "Guest count. Internal and direct reservations only. Only the fields you send change; set one to 0 to clear it. adults + children must not exceed the listing's capacity.",
                    "properties": {
                      "adults": {
                        "type": "integer",
                        "minimum": 1,
                        "example": 2
                      },
                      "children": {
                        "type": "integer",
                        "minimum": 0,
                        "example": 1
                      },
                      "infants": {
                        "type": "integer",
                        "minimum": 0,
                        "example": 0
                      },
                      "pets": {
                        "type": "integer",
                        "minimum": 0,
                        "example": 1
                      }
                    }
                  },
                  "hostPayout": {
                    "type": "number",
                    "minimum": 0,
                    "description": "Host payout. Internal and direct reservations only.",
                    "example": 450
                  },
                  "guestPrice": {
                    "type": "number",
                    "minimum": 0,
                    "description": "Total price paid by the guest. Internal and direct reservations only.",
                    "example": 500
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Reservation updated successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Success"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests"
          }
        }
      }
    }
  }
}
```