v1

latestOpenAPI 3.0.32026-07-2632131.4 MB
Reservations Open Api [Beta]

Change Reservation Source

Change a reservation's source and point of sale parameters and choose whether to recalculate financials

put/reservations-v3/{reservationId}/source

Path parameters

reservationIdstring required
Example:5f92cbf10cf217478ba93561

The Guesty reservation ID

Query parameters

mergeAccommodationFarePriceComponentsboolean

If set to true, Markups, ExtraPersonFee, and Discounts are hidden from both the nightly rates and invoice items—they are included within the Accommodation Fee (AF). If set to false, these components are itemized separately in the response.

Request body

sourcestring required

Set the source of the reservation

pointOfSalestring

Define the point of sale

applyRecalculationboolean

Should the update trigger a financial recalculation

Example request

{
  "source": "summer-campaign",
  "pointOfSale": "sales agent"
}

Response

Success

reservationIdstring required
sourcestring required
pointOfSalestring required

Example response

{
  "money": {
    "invoiceItems": [
      {
        "title": "Cleaning fee",
        "amount": 20,
        "currency": "USD",
        "type": "CLEANING_FEE",
        "isLocked": true,
        "normalType": "CF"
      }
    ]
  }
}