---
updatedAt: 2026-11-05T14:53:46.000Z
agentTools:
  projectIndex: https://open-api-docs.guesty.com/llms.txt
---

# Change Reservation Source

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

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "GUESTY OPEN API",
    "description": "Guesty Open API documentation",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://open-api.guesty.com/v1"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Reservations"
    }
  ],
  "paths": {
    "/reservations-v3/{reservationId}/source": {
      "put": {
        "operationId": "ReservationsOpenApiController_updateReservationSource",
        "summary": "Change Reservation Source",
        "description": "Change a reservation's source and point of sale parameters and choose whether to recalculate financials",
        "parameters": [
          {
            "name": "reservationId",
            "required": true,
            "in": "path",
            "description": "The Guesty reservation ID",
            "schema": {
              "example": "5f92cbf10cf217478ba93561",
              "type": "string"
            }
          },
          {
            "name": "mergeAccommodationFarePriceComponents",
            "required": false,
            "in": "query",
            "description": "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.",
            "deprecated": true,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "name": "applyGuestFacingMerges",
            "required": false,
            "in": "query",
            "description": "Controls whether financial items are merged into a simplified, guest-facing view.\n\ntrue: Merges all backend financial breakdowns back into their base line items. Inclusive taxes merge back into original prices, while markups, deducted fees, extra person fees, and weekly/monthly discounts fold back into the main accommodation fare. This hides internal fee structures and yields a clean, customer-eligible quote.\n\nfalse: Returns full, unmerged line-item transparency showing every fee, tax, and fare adjustment separately.\n\nNote: Prefer using this parameter over mergeAccommodationFarePriceComponents, which is being deprecated. This option supersedes it by handling full financial merging rather than just fare adjustments.",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "source": {
                    "type": "string",
                    "description": "Set the source of the reservation",
                    "example": "summer-campaign"
                  },
                  "pointOfSale": {
                    "type": "string",
                    "description": "Define the point of sale",
                    "example": "sales agent"
                  },
                  "applyRecalculation": {
                    "type": "boolean",
                    "default": true,
                    "description": "Should the update trigger a financial recalculation",
                    "example": false
                  }
                },
                "required": [
                  "source"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "reservationId": {
                      "type": "string"
                    },
                    "money": {
                      "type": "object",
                      "properties": {
                        "invoiceItems": {
                          "example": [
                            {
                              "title": "Cleaning fee",
                              "amount": 20,
                              "currency": "USD",
                              "type": "CLEANING_FEE",
                              "isLocked": true,
                              "normalType": "CF"
                            }
                          ],
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "_id": {
                                "type": "object"
                              },
                              "amount": {
                                "type": "number"
                              },
                              "currency": {
                                "type": "string"
                              },
                              "isLocked": {
                                "type": "boolean"
                              },
                              "normalType": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "type": {
                                "type": "string"
                              },
                              "isTax": {
                                "type": "boolean"
                              },
                              "isDeducted": {
                                "type": "boolean"
                              },
                              "metadata": {
                                "type": "boolean"
                              },
                              "evaluatedPercent": {
                                "type": "number"
                              },
                              "baseAmount": {
                                "type": "number"
                              },
                              "isAutoAdditionalFee": {
                                "type": "boolean"
                              },
                              "secondIdentifier": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "amount",
                              "normalType",
                              "title",
                              "type"
                            ]
                          }
                        },
                        "_id": {
                          "type": "object",
                          "properties": {}
                        },
                        "reservationId": {
                          "type": "string"
                        },
                        "fareAccommodationAdjustment": {
                          "type": "number"
                        },
                        "fareAccommodationDiscount": {
                          "type": "number"
                        },
                        "currency": {
                          "type": "string"
                        },
                        "fareAccommodation": {
                          "type": "number"
                        },
                        "guestTotalPrice": {
                          "type": "number"
                        },
                        "fareAccommodationAdjusted": {
                          "type": "number"
                        },
                        "fareCleaning": {
                          "type": "number"
                        },
                        "hostServiceFee": {
                          "type": "number"
                        },
                        "hostServiceFeeTax": {
                          "type": "number"
                        },
                        "hostServiceFeeIncTax": {
                          "type": "number"
                        },
                        "subTotalPrice": {
                          "type": "number"
                        },
                        "hostPayout": {
                          "type": "number"
                        },
                        "hostPayoutUsd": {
                          "type": "number"
                        },
                        "totalTaxes": {
                          "type": "number"
                        },
                        "payments": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "totalRefunded": {
                          "type": "number"
                        },
                        "totalPaid": {
                          "type": "number"
                        },
                        "paymentsDue": {
                          "type": "number"
                        },
                        "balanceDue": {
                          "type": "number"
                        },
                        "isFullyPaid": {
                          "type": "boolean"
                        },
                        "settingsSnapshot": {
                          "type": "object"
                        },
                        "netIncomeFormula": {
                          "type": "string"
                        },
                        "commissionFormula": {
                          "type": "string"
                        },
                        "commissionTaxPercentage": {
                          "type": "number"
                        },
                        "ownerRevenueFormula": {
                          "type": "string"
                        },
                        "useAccountRevenueShare": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "invoiceItems",
                        "_id",
                        "reservationId",
                        "fareAccommodationAdjustment",
                        "fareAccommodationDiscount",
                        "currency",
                        "fareAccommodation",
                        "fareAccommodationAdjusted",
                        "fareCleaning",
                        "hostServiceFee",
                        "hostServiceFeeTax",
                        "hostServiceFeeIncTax",
                        "subTotalPrice",
                        "hostPayout",
                        "hostPayoutUsd",
                        "totalTaxes",
                        "payments",
                        "totalRefunded",
                        "totalPaid",
                        "paymentsDue",
                        "balanceDue",
                        "isFullyPaid",
                        "settingsSnapshot"
                      ]
                    },
                    "source": {
                      "type": "string"
                    },
                    "pointOfSale": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "reservationId",
                    "money",
                    "source",
                    "pointOfSale"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Returned if required fields are missing or there is a validation error in the request body"
          },
          "422": {
            "description": "Returned if required fields are missing or there is a validation error in the request body"
          },
          "500": {
            "description": "Indicates server-side error while processing the request"
          }
        },
        "tags": [
          "Reservations"
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "apiKey",
        "name": "authorization",
        "in": "header"
      }
    }
  },
  "x-kong-upstream-prefix": "/integrations/brands",
  "x-kong-route-transformations": [
    {
      "configuration": "v1",
      "routeExtpath": "/account-brands",
      "stripPrefix": "/v1/account-brands"
    }
  ]
}
```