---
title: Modify
slug: 4gTP-modify
docTags: 
createdAt: 2025-09-25T11:57:08.996Z
---

:::ApiMethodV2
```json
{
  "name": "Modify Booking",
  "method": "POST",
  "url": "https://wsb.bakuun.com/v1/booking/PushReservationApi/TPSXXX",
  "description": "Provides the TPS Partner with the updated reservation payload generated by Bakuun, reflecting all modifications to booking status, stay dates, room and rate details, guest information, payment data, and total charges.",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "n1-Rf0oJoKeo_VL1rex_h",
        "language": "json",
        "code": "{\n  \"username\": \"String\",\n  \"password\": \"String\",\n  \"partnerId\": \"String\",\n  \"partnerName\": \"String\",\n  \"action\": \"pushModifyBooking\",\n  \"reservationDetail\": [\n    {\n      \"propertyId\": \"String\",\n      \"propertyName\": \"String\",\n      \"reservationId\": \"String\",\n      \"reservationStatus\": \"Modify\",\n      \"checkIn\": \"YYYY-MM-DDTHH:MM\",\n      \"checkOut\": \"YYYY-MM-DDTHH:MM\",\n      \"paymentMethod\": \"String\",\n      \"currencyCode\": \"String\",\n      \"totalAdult\": \"String\",\n      \"totalChild\": \"String\",\n      \"childAges\": [\n        \"1\",\n        \"2\"\n      ],\n      \"totalBaby\": \"String\",\n      \"babyAges\": [\n        \"1\",\n        \"2\"\n      ],\n      \"roomStays\": [\n        {\n          \"roomId\": \"String\",\n          \"roomName\": \"String\",\n          \"roomType\": \"String\",\n          \"numberOfUnits\": \"String\",\n          \"rateId\": \"String\",\n          \"cancelPolicy\": \"String\",\n          \"adultCount\": \"String\",\n          \"childCount\": \"String\",\n          \"childAges\": [\n            \"1\",\n            \"2\"\n          ],\n          \"babyCount\": \"String\",\n          \"babyAges\": [\n            \"1\",\n            \"2\"\n          ],\n          \"roomIndex\": \"String\",\n          \"resGuestRPH\": \"String\",\n          \"bookingPerDayPrices\": [\n            {\n              \"dateYmd\": \"YYYY-MM-DD\",\n              \"price\": \"XXX.XX\"\n            }\n          ],\n          \"total\": {\n            \"amountAfterTaxes\": \"XXX.XX\",\n            \"amountBeforeTaxes\": \"XXX.XX\"\n          },\n          \"roomIncServices\": [\n            {\n              \"serviceId\": \"String\",\n              \"incServiceName\": \"String\",\n              \"inclusion\": \"String\",\n              \"priceExtra\": \"XXX.XX\"\n            }\n          ]\n        }\n      ],\n      \"guestDetails\": [\n        {\n          \"resGuestRPH\": \"String\",\n          \"firstName\": \"String\",\n          \"lastName\": \"String\",\n          \"middleName\": \"String\",\n          \"email\": \"String\",\n          \"phone\": \"String\",\n          \"address\": \"String\",\n          \"country\": \"String\"\n        }\n      ],\n      \"comment\": {\n        \"text\": \"String\"\n      },\n      \"paymentCard\": {\n        \"cardHolderName\": \"String\",\n        \"cardType\": \"String\",\n        \"cardCategory\": \"String\",\n        \"cardNumber\": \"String\",\n        \"expiryMonth\": \"String\",\n        \"expiryYear\": \"String\",\n        \"startDayMonth\": \"String\",\n        \"startDayYear\": \"String\",\n        \"issueNum\": \"String\",\n        \"seriesCode\": \"String\",\n        \"vccBalance\": \"String\",\n        \"vccCurrencyCode\": \"String\",\n        \"vccDeactivationDate\": \"YYYY-MM-DD\",\n        \"vccActivationDate\": \"YYYY-MM-DD\"\n      },\n      \"totalCharge\": [\n        {\n          \"taxDetails\": {\n            \"typeTax\": \"String\",\n            \"includes\": \"String\",\n            \"taxPrice\": \"XX.XX\",\n            \"taxDetails\": \"String\"\n          },\n          \"priceDetails\": [\n            {\n              \"amountAfterTaxes\": \"XXX.XX\",\n              \"amountBeforeTaxes\": \"XXX.XX\"\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}",
        "customLabel": ""
      },
      {
        "id": "tOTxVq82U0E8roMIcfI1w",
        "language": "curl",
        "code": "curl --location 'https://wsb.bakuun.com/v1/booking/PushReservationApi/CPBXXX' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--data '{\n  \"username\": \"String\",\n  \"password\": \"String\",\n  \"partnerId\": \"String\",\n  \"action\": \"String\",\n  \"reservationDetail\": {\n    \"propertyID\": \"\",\n    \"propertyName\": \"\",\n    \"reservationID\": \"\",\n    \"reservationStatus\": \"\",\n    \"checkIn\": \"\",\n    \"checkOut\": \"\",\n    \"paymentMethod\": \"\",\n    \"currencyCode\": \"\",\n    \"totalAdult\": \"\",\n    \"totalChild\": \"\",\n    \"childAges\": {},\n    \"totalBaby\": \"\",\n    \"babyAges\": {},\n    \"roomStays\": {\n      \"roomId\": \"\",\n      \"roomName\": \"\",\n      \"roomType\": \"\",\n      \"numberOfUnits\": \"\",\n      \"rateId\": \"\",\n      \"cancelPolicy\": \"\",\n      \"adultCount\": \"\",\n      \"childCount\": \"\",\n      \"childAges\": [],\n      \"babyCount\": \"\",\n      \"babyAges\": [],\n      \"roomIndex\": \"\",\n      \"resGuestRPH\": \"\",\n      \"bookingPerDayPrices\": {\n        \"dateYmd\": \"\",\n        \"price\": \"\"\n      },\n      \"total\": {\n        \"amountAfterTaxes\": \"\",\n        \"amountBeforeTaxes\": \"\"\n      },\n      \"roomIncServices\": []\n    },\n    \"guestDetails\": {\n      \"resGuestRPH\": \"\",\n      \"firstName\": \"\",\n      \"lastName\": \"\",\n      \"middleName\": \"\",\n      \"email\": \"\",\n      \"phone\": \"\",\n      \"address\": \"\",\n      \"country\": \"\"\n    },\n    \"comment\": {\n      \"text\": \"\"\n    },\n    \"paymentCard\": {\n      \"cardHolderName\": \"\",\n      \"cardType\": \"\",\n      \"cardCategory\": \"\",\n      \"cardNumber\": \"\",\n      \"expiryMonth\": \"\",\n      \"expiryYear\": \"\",\n      \"startDayMonth\": \"\",\n      \"startDayYear\": \"\",\n      \"issueNum\": \"\",\n      \"vccBalance\": \"\",\n      \"vccCurrencyCode\": \"\",\n      \"vccDeactivationDate\": \"\",\n      \"vccActivationDate\": \"\"\n    },\n    \"totalCharge\": {\n      \"taxDetails\": {\n        \"typeTax\": \"\",\n        \"includes\": \"\",\n        \"taxPrice\": \"\",\n        \"taxDetails\": \"\"\n      },\n      \"priceDetails\": {\n        \"amountAfterTaxes\": \"\",\n        \"amountBeforeTaxes\": \"\"\n      }\n    }\n  }\n}'",
        "customLabel": ""
      },
      {
        "id": "884gT2twETJCGny5Xe6ZA",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://wsb.bakuun.com/v1/booking/PushReservationApi/CPBXXX',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json'\n   },\n   body: JSON.stringify({\n      \"username\": \"String\",\n      \"password\": \"String\",\n      \"partnerId\": \"String\",\n      \"action\": \"String\",\n      \"reservationDetail\": {\n         \"propertyID\": \"\",\n         \"propertyName\": \"\",\n         \"reservationID\": \"\",\n         \"reservationStatus\": \"\",\n         \"checkIn\": \"\",\n         \"checkOut\": \"\",\n         \"paymentMethod\": \"\",\n         \"currencyCode\": \"\",\n         \"totalAdult\": \"\",\n         \"totalChild\": \"\",\n         \"childAges\": {},\n         \"totalBaby\": \"\",\n         \"babyAges\": {},\n         \"roomStays\": {\n            \"roomId\": \"\",\n            \"roomName\": \"\",\n            \"roomType\": \"\",\n            \"numberOfUnits\": \"\",\n            \"rateId\": \"\",\n            \"cancelPolicy\": \"\",\n            \"adultCount\": \"\",\n            \"childCount\": \"\",\n            \"childAges\": [],\n            \"babyCount\": \"\",\n            \"babyAges\": [],\n            \"roomIndex\": \"\",\n            \"resGuestRPH\": \"\",\n            \"bookingPerDayPrices\": {\n               \"dateYmd\": \"\",\n               \"price\": \"\"\n            },\n            \"total\": {\n               \"amountAfterTaxes\": \"\",\n               \"amountBeforeTaxes\": \"\"\n            },\n            \"roomIncServices\": []\n         },\n         \"guestDetails\": {\n            \"resGuestRPH\": \"\",\n            \"firstName\": \"\",\n            \"lastName\": \"\",\n            \"middleName\": \"\",\n            \"email\": \"\",\n            \"phone\": \"\",\n            \"address\": \"\",\n            \"country\": \"\"\n         },\n         \"comment\": {\n            \"text\": \"\"\n         },\n         \"paymentCard\": {\n            \"cardHolderName\": \"\",\n            \"cardType\": \"\",\n            \"cardCategory\": \"\",\n            \"cardNumber\": \"\",\n            \"expiryMonth\": \"\",\n            \"expiryYear\": \"\",\n            \"startDayMonth\": \"\",\n            \"startDayYear\": \"\",\n            \"issueNum\": \"\",\n            \"vccBalance\": \"\",\n            \"vccCurrencyCode\": \"\",\n            \"vccDeactivationDate\": \"\",\n            \"vccActivationDate\": \"\"\n         },\n         \"totalCharge\": {\n            \"taxDetails\": {\n               \"typeTax\": \"\",\n               \"includes\": \"\",\n               \"taxPrice\": \"\",\n               \"taxDetails\": \"\"\n            },\n            \"priceDetails\": {\n               \"amountAfterTaxes\": \"\",\n               \"amountBeforeTaxes\": \"\"\n            }\n         }\n      }\n   })\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "2_ufeJOYBk7JFDUi4j0e8",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"username\": \"String\",\n   \"password\": \"String\",\n   \"partnerId\": \"String\",\n   \"action\": \"String\",\n   \"reservationDetail\": {\n      \"propertyID\": \"\",\n      \"propertyName\": \"\",\n      \"reservationID\": \"\",\n      \"reservationStatus\": \"\",\n      \"checkIn\": \"\",\n      \"checkOut\": \"\",\n      \"paymentMethod\": \"\",\n      \"currencyCode\": \"\",\n      \"totalAdult\": \"\",\n      \"totalChild\": \"\",\n      \"childAges\": {},\n      \"totalBaby\": \"\",\n      \"babyAges\": {},\n      \"roomStays\": {\n         \"roomId\": \"\",\n         \"roomName\": \"\",\n         \"roomType\": \"\",\n         \"numberOfUnits\": \"\",\n         \"rateId\": \"\",\n         \"cancelPolicy\": \"\",\n         \"adultCount\": \"\",\n         \"childCount\": \"\",\n         \"childAges\": [],\n         \"babyCount\": \"\",\n         \"babyAges\": [],\n         \"roomIndex\": \"\",\n         \"resGuestRPH\": \"\",\n         \"bookingPerDayPrices\": {\n            \"dateYmd\": \"\",\n            \"price\": \"\"\n         },\n         \"total\": {\n            \"amountAfterTaxes\": \"\",\n            \"amountBeforeTaxes\": \"\"\n         },\n         \"roomIncServices\": []\n      },\n      \"guestDetails\": {\n         \"resGuestRPH\": \"\",\n         \"firstName\": \"\",\n         \"lastName\": \"\",\n         \"middleName\": \"\",\n         \"email\": \"\",\n         \"phone\": \"\",\n         \"address\": \"\",\n         \"country\": \"\"\n      },\n      \"comment\": {\n         \"text\": \"\"\n      },\n      \"paymentCard\": {\n         \"cardHolderName\": \"\",\n         \"cardType\": \"\",\n         \"cardCategory\": \"\",\n         \"cardNumber\": \"\",\n         \"expiryMonth\": \"\",\n         \"expiryYear\": \"\",\n         \"startDayMonth\": \"\",\n         \"startDayYear\": \"\",\n         \"issueNum\": \"\",\n         \"vccBalance\": \"\",\n         \"vccCurrencyCode\": \"\",\n         \"vccDeactivationDate\": \"\",\n         \"vccActivationDate\": \"\"\n      },\n      \"totalCharge\": {\n         \"taxDetails\": {\n            \"typeTax\": \"\",\n            \"includes\": \"\",\n            \"taxPrice\": \"\",\n            \"taxDetails\": \"\"\n         },\n         \"priceDetails\": {\n            \"amountAfterTaxes\": \"\",\n            \"amountBeforeTaxes\": \"\"\n         }\n      }\n   }\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://wsb.bakuun.com/v1/booking/PushReservationApi/CPBXXX\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "fz9SiyjuAM5Fthu-X2NOr",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://wsb.bakuun.com/v1/booking/PushReservationApi/CPBXXX\"\n\npayload = json.dumps({\n   \"username\": \"String\",\n   \"password\": \"String\",\n   \"partnerId\": \"String\",\n   \"action\": \"String\",\n   \"reservationDetail\": {\n      \"propertyID\": \"\",\n      \"propertyName\": \"\",\n      \"reservationID\": \"\",\n      \"reservationStatus\": \"\",\n      \"checkIn\": \"\",\n      \"checkOut\": \"\",\n      \"paymentMethod\": \"\",\n      \"currencyCode\": \"\",\n      \"totalAdult\": \"\",\n      \"totalChild\": \"\",\n      \"childAges\": {},\n      \"totalBaby\": \"\",\n      \"babyAges\": {},\n      \"roomStays\": {\n         \"roomId\": \"\",\n         \"roomName\": \"\",\n         \"roomType\": \"\",\n         \"numberOfUnits\": \"\",\n         \"rateId\": \"\",\n         \"cancelPolicy\": \"\",\n         \"adultCount\": \"\",\n         \"childCount\": \"\",\n         \"childAges\": [],\n         \"babyCount\": \"\",\n         \"babyAges\": [],\n         \"roomIndex\": \"\",\n         \"resGuestRPH\": \"\",\n         \"bookingPerDayPrices\": {\n            \"dateYmd\": \"\",\n            \"price\": \"\"\n         },\n         \"total\": {\n            \"amountAfterTaxes\": \"\",\n            \"amountBeforeTaxes\": \"\"\n         },\n         \"roomIncServices\": []\n      },\n      \"guestDetails\": {\n         \"resGuestRPH\": \"\",\n         \"firstName\": \"\",\n         \"lastName\": \"\",\n         \"middleName\": \"\",\n         \"email\": \"\",\n         \"phone\": \"\",\n         \"address\": \"\",\n         \"country\": \"\"\n      },\n      \"comment\": {\n         \"text\": \"\"\n      },\n      \"paymentCard\": {\n         \"cardHolderName\": \"\",\n         \"cardType\": \"\",\n         \"cardCategory\": \"\",\n         \"cardNumber\": \"\",\n         \"expiryMonth\": \"\",\n         \"expiryYear\": \"\",\n         \"startDayMonth\": \"\",\n         \"startDayYear\": \"\",\n         \"issueNum\": \"\",\n         \"vccBalance\": \"\",\n         \"vccCurrencyCode\": \"\",\n         \"vccDeactivationDate\": \"\",\n         \"vccActivationDate\": \"\"\n      },\n      \"totalCharge\": {\n         \"taxDetails\": {\n            \"typeTax\": \"\",\n            \"includes\": \"\",\n            \"taxPrice\": \"\",\n            \"taxDetails\": \"\"\n         },\n         \"priceDetails\": {\n            \"amountAfterTaxes\": \"\",\n            \"amountBeforeTaxes\": \"\"\n         }\n      }\n   }\n})\nheaders = {\n   'Accept': 'application/json',\n   'Content-Type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "styxgh3UROFgN6AAwvAUc",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://wsb.bakuun.com/v1/booking/PushReservationApi/CPBXXX\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Accept\"] = \"application/json\"\nrequest[\"Content-Type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"username\": \"String\",\n   \"password\": \"String\",\n   \"partnerId\": \"String\",\n   \"action\": \"String\",\n   \"reservationDetail\": {\n      \"propertyID\": \"\",\n      \"propertyName\": \"\",\n      \"reservationID\": \"\",\n      \"reservationStatus\": \"\",\n      \"checkIn\": \"\",\n      \"checkOut\": \"\",\n      \"paymentMethod\": \"\",\n      \"currencyCode\": \"\",\n      \"totalAdult\": \"\",\n      \"totalChild\": \"\",\n      \"childAges\": {},\n      \"totalBaby\": \"\",\n      \"babyAges\": {},\n      \"roomStays\": {\n         \"roomId\": \"\",\n         \"roomName\": \"\",\n         \"roomType\": \"\",\n         \"numberOfUnits\": \"\",\n         \"rateId\": \"\",\n         \"cancelPolicy\": \"\",\n         \"adultCount\": \"\",\n         \"childCount\": \"\",\n         \"childAges\": [],\n         \"babyCount\": \"\",\n         \"babyAges\": [],\n         \"roomIndex\": \"\",\n         \"resGuestRPH\": \"\",\n         \"bookingPerDayPrices\": {\n            \"dateYmd\": \"\",\n            \"price\": \"\"\n         },\n         \"total\": {\n            \"amountAfterTaxes\": \"\",\n            \"amountBeforeTaxes\": \"\"\n         },\n         \"roomIncServices\": []\n      },\n      \"guestDetails\": {\n         \"resGuestRPH\": \"\",\n         \"firstName\": \"\",\n         \"lastName\": \"\",\n         \"middleName\": \"\",\n         \"email\": \"\",\n         \"phone\": \"\",\n         \"address\": \"\",\n         \"country\": \"\"\n      },\n      \"comment\": {\n         \"text\": \"\"\n      },\n      \"paymentCard\": {\n         \"cardHolderName\": \"\",\n         \"cardType\": \"\",\n         \"cardCategory\": \"\",\n         \"cardNumber\": \"\",\n         \"expiryMonth\": \"\",\n         \"expiryYear\": \"\",\n         \"startDayMonth\": \"\",\n         \"startDayYear\": \"\",\n         \"issueNum\": \"\",\n         \"vccBalance\": \"\",\n         \"vccCurrencyCode\": \"\",\n         \"vccDeactivationDate\": \"\",\n         \"vccActivationDate\": \"\"\n      },\n      \"totalCharge\": {\n         \"taxDetails\": {\n            \"typeTax\": \"\",\n            \"includes\": \"\",\n            \"taxPrice\": \"\",\n            \"taxDetails\": \"\"\n         },\n         \"priceDetails\": {\n            \"amountAfterTaxes\": \"\",\n            \"amountBeforeTaxes\": \"\"\n         }\n      }\n   }\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "n1-Rf0oJoKeo_VL1rex_h"
  },
  "results": {
    "languages": [
      {
        "id": "QCanLQmojpvVqF_XlE8z1",
        "language": "200",
        "code": "{\n  \"success\": true\n}",
        "customLabel": ""
      },
      {
        "id": "TPgb3TSXWkHQnIBEMk9ec",
        "language": "408",
        "code": "{\n    \"success\": false,\n    \"errors\": [\n        {\n            \"code\": 408,\n            \"message\": \"Processing error\"\n        }\n    ]\n}",
        "customLabel": ""
      },
      {
        "id": "yETwDFk4FksXzxv1tKs97",
        "language": "415",
        "code": "{\n    \"success\": false,\n    \"errors\": [\n        {\n            \"code\": 415,\n            \"message\": \"Invalid authentication key\"\n        }\n    ]\n}",
        "customLabel": ""
      },
      {
        "id": "qlAjLewtKia8esRvbBxQH",
        "language": "451",
        "code": "{\n    \"success\": false,\n    \"errors\": [\n        {\n            \"code\": 476,\n            \"message\": \"Reservation ID not found\"\n        }\n    ]\n}",
        "customLabel": ""
      },
      {
        "id": "v7Ub27q1kA82KPLLmV7zY",
        "language": "431",
        "code": "{\n    \"success\": false,\n    \"errors\": [\n        {\n            \"code\": 440,\n            \"message\": \"Reservation ID not found\"\n        }\n    ]\n}",
        "customLabel": ""
      },
      {
        "id": "xjRxQiutiP-hoXzjVUrE6",
        "language": "429",
        "code": "{\n    \"success\": false,\n    \"errors\": [\n        {\n            \"code\": 442,\n            \"message\": \"Endpoint is not active\"\n        }\n    ]\n}",
        "customLabel": ""
      },
      {
        "id": "zM1jXYXu5E2ikAO3OPzcv",
        "language": "428",
        "code": "{\n    \"success\": false,\n    \"errors\": [\n        {\n            \"code\": 454,\n            \"message\": \"Invalid endpoint\"\n        }\n    ]\n}",
        "customLabel": ""
      },
      {
        "id": "zkemts01FEQxmpE2nwjlI",
        "language": "500",
        "code": "{\n    \"success\": false,\n    \"errors\": [\n        {\n            \"code\": 500,\n            \"message\": \"Internal server error\"\n        }\n    ]\n}",
        "customLabel": ""
      },
      {
        "id": "Oxx6UoCUIvt4_FNo5fmu1",
        "language": "502",
        "code": "{\n    \"success\": false,\n    \"errors\": [\n        {\n            \"code\": 502,\n            \"message\": \"Bad gateway\"\n        }\n    ]\n}",
        "customLabel": ""
      },
      {
        "id": "GbEstt1zzzswiTD_b_Z6x",
        "language": "503",
        "code": "{\n    \"success\": false,\n    \"errors\": [\n        {\n            \"code\": 503,\n            \"message\": \"Service unavailable\"\n        }\n    ]\n}",
        "customLabel": ""
      },
      {
        "id": "nNDOy1Yc_eLSWYlEX0XHr",
        "language": "504",
        "code": "{\n    \"success\": false,\n    \"errors\": [\n        {\n            \"code\": 504,\n            \"message\": \"Endpoint request timed-out\"\n        }\n    ]\n}",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "yETwDFk4FksXzxv1tKs97"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [],
    "bodyDataParameters": [
      {
        "name": "username",
        "kind": "required",
        "type": "string",
        "description": "API username provided by the TPS Partner to authenticate incoming requests from Bakuun.",
        "": "API username provided by the TPS Partner to authenticate incoming requests from Bakuun."
      },
      {
        "name": "password",
        "kind": "required",
        "type": "string",
        "description": "API password provided by the TPS Partner to authenticate incoming requests from Bakuun.",
        "": "API password provided by the TPS Partner to authenticate incoming requests from Bakuun."
      },
      {
        "name": "partnerId",
        "kind": "required",
        "type": "string",
        "description": "Demand Partner identifier assigned by Bakuun (e.g. MPBXX)",
        "": "Demand Partner identifier assigned by Bakuun (e.g. MPBXX)"
      },
      {
        "name": "partnerName",
        "kind": "required",
        "type": "string",
        "description": "Demand Partner Name",
        "": "Demand Partner Name"
      },
      {
        "name": "action",
        "kind": "required",
        "type": "string",
        "description": "Always set as pushModifyBooking",
        "": "Always set as pushModifyBooking"
      },
      {
        "name": "reservationDetail",
        "kind": "required",
        "type": "object",
        "description": "",
        "": "required",
        "children": [
          {
            "name": "propertyId",
            "kind": "required",
            "type": "string",
            "description": "Unique property identifier (shared mapping between Bakuun and the TPS partner)."
          },
          {
            "name": "propertyName",
            "kind": "required",
            "type": "string",
            "description": "Hotel/property name."
          },
          {
            "name": "reservationId",
            "kind": "required",
            "type": "string",
            "description": "Reservation ID generaed by Bakuun"
          },
          {
            "name": "reservationStatus",
            "kind": "required",
            "type": "string",
            "description": "Always set as Modify"
          },
          {
            "name": "checkIn",
            "kind": "required",
            "type": "string",
            "description": "ISO check-in datetime (e.g., 2025-10-05T15:00)."
          },
          {
            "name": "checkOut",
            "kind": "required",
            "type": "string",
            "description": "ISO check-out datetime (e.g., 2025-10-05T15:00)."
          },
          {
            "name": "paymentMethod",
            "kind": "required",
            "type": "string",
            "description": "Available payment method \nVCC, CC, BANK, CASH, CREDIT"
          },
          {
            "name": "currencyCode",
            "kind": "required",
            "type": "string",
            "description": "Booking currency (ISO 4217)."
          },
          {
            "name": "totalAdult",
            "kind": "required",
            "type": "string",
            "description": "Total adults across all rooms."
          },
          {
            "name": "totalChild",
            "kind": "required",
            "type": "string",
            "description": "Total children across all rooms."
          },
          {
            "name": "childAges",
            "kind": "required",
            "type": "object",
            "description": "Ages of all children.",
            "children": []
          },
          {
            "name": "totalBaby",
            "kind": "required",
            "type": "string",
            "description": "Total infant across all rooms. "
          },
          {
            "name": "babyAges",
            "kind": "required",
            "type": "object",
            "description": "Ages of all infant.",
            "children": []
          },
          {
            "name": "roomStays",
            "kind": "required",
            "type": "object",
            "description": "",
            "children": [
              {
                "name": "roomId",
                "kind": "required",
                "type": "string",
                "description": "Bakuun / TPS Partner room ID."
              },
              {
                "name": "roomName",
                "kind": "required",
                "type": "string",
                "description": "Room name"
              },
              {
                "name": "roomType",
                "kind": "required",
                "type": "string",
                "description": "DailyRoom would be the used default category "
              },
              {
                "name": "numberOfUnits",
                "kind": "required",
                "type": "string",
                "description": "Number of units booked. 1 would be the allowed min/maxvalue"
              },
              {
                "name": "rateId",
                "kind": "required",
                "type": "string",
                "description": "Bakuun / TPS Partner room rate ID."
              },
              {
                "name": "cancelPolicy",
                "kind": "required",
                "type": "string",
                "description": "Defines the cancellation policy associated with the selected ratePlanId. \nSupported options are:\n\nRefundable\nNon Refundable"
              },
              {
                "name": "adultCount",
                "kind": "required",
                "type": "string",
                "description": "Number of adults in this room."
              },
              {
                "name": "childCount",
                "kind": "required",
                "type": "string",
                "description": "Number of child in this room."
              },
              {
                "name": "childAges",
                "kind": "required",
                "type": "object",
                "description": "Ages of children."
              },
              {
                "name": "babyCount",
                "kind": "required",
                "type": "string",
                "description": "Number of infant in this room."
              },
              {
                "name": "babyAges",
                "kind": "required",
                "type": "object",
                "description": "Ages of infant."
              },
              {
                "name": "roomIndex",
                "kind": "required",
                "type": "string",
                "description": "Room index reference."
              },
              {
                "name": "resGuestRPH",
                "kind": "required",
                "type": "string",
                "description": "Guest index reference."
              },
              {
                "name": "bookingPerDayPrices",
                "kind": "required",
                "type": "object",
                "description": "Date-wise price list for the stay.",
                "children": [
                  {
                    "name": "dateYmd",
                    "kind": "required",
                    "type": "string",
                    "description": "ISO date  (e.g., 2025-10-25)."
                  },
                  {
                    "name": "price",
                    "kind": "required",
                    "type": "string",
                    "description": "Date-wise price."
                  }
                ]
              },
              {
                "name": "total",
                "kind": "required",
                "type": "object",
                "description": "",
                "children": [
                  {
                    "name": "amountAfterTaxes",
                    "kind": "required",
                    "type": "string",
                    "description": "Total amount for the room stay before taxes and fees."
                  },
                  {
                    "name": "amountBeforeTaxes",
                    "kind": "required",
                    "type": "string",
                    "description": "Total amount for the room stay after taxes and fees."
                  }
                ]
              },
              {
                "name": "roomIncServices",
                "kind": "required",
                "type": "object",
                "description": "",
                "children": [
                  {
                    "name": "serviceId",
                    "kind": "optional",
                    "type": "string",
                    "description": ""
                  },
                  {
                    "name": "incServiceName",
                    "kind": "optional",
                    "type": "string",
                    "description": ""
                  },
                  {
                    "name": "inclusion",
                    "kind": "optional",
                    "type": "string",
                    "description": ""
                  },
                  {
                    "name": "priceExtra",
                    "kind": "optional",
                    "type": "string",
                    "description": ""
                  }
                ]
              }
            ]
          },
          {
            "name": "guestDetails",
            "kind": "required",
            "type": "object",
            "description": "Standard guest contact information.",
            "children": [
              {
                "name": "resGuestRPH",
                "kind": "required",
                "type": "string",
                "description": "Guest index reference."
              },
              {
                "name": "firstName",
                "kind": "required",
                "type": "string",
                "description": "Guest first name."
              },
              {
                "name": "lastName",
                "kind": "required",
                "type": "string",
                "description": "Guest surname."
              },
              {
                "name": "middleName",
                "kind": "required",
                "type": "string",
                "description": "Optional"
              },
              {
                "name": "email",
                "kind": "required",
                "type": "string",
                "description": "Guest email."
              },
              {
                "name": "phone",
                "kind": "required",
                "type": "string",
                "description": "Guest phone number."
              },
              {
                "name": "address",
                "kind": "required",
                "type": "string",
                "description": "Guest address."
              },
              {
                "name": "country",
                "kind": "required",
                "type": "string",
                "description": "Guest country."
              }
            ]
          },
          {
            "name": "comment",
            "kind": "required",
            "type": "object",
            "description": "",
            "children": [
              {
                "name": "text",
                "kind": "required",
                "type": "string",
                "description": ""
              }
            ]
          },
          {
            "name": "paymentCard",
            "kind": "required",
            "type": "object",
            "description": "",
            "children": [
              {
                "name": "cardHolderName",
                "kind": "required",
                "type": "string",
                "description": "Name on card."
              },
              {
                "name": "cardType",
                "kind": "required",
                "type": "string",
                "description": "Visa/Mastercard/etc."
              },
              {
                "name": "cardCategory",
                "kind": "required",
                "type": "string",
                "description": "CC or VCC."
              },
              {
                "name": "cardNumber",
                "kind": "required",
                "type": "string",
                "description": "Valid card number"
              },
              {
                "name": "expiryMonth",
                "kind": "required",
                "type": "string",
                "description": "Expiry MM."
              },
              {
                "name": "expiryYear",
                "kind": "required",
                "type": "string",
                "description": "Expiry YYYY."
              },
              {
                "name": "startDayMonth",
                "kind": "required",
                "type": "string",
                "description": "Start day month  MM. \nThis is only needed for card different from Visa, Mastercard, Amex, UnionPay, JCB"
              },
              {
                "name": "startDayYear",
                "kind": "required",
                "type": "string",
                "description": "Start day year  YYYY.  \nThis is only needed for card different from Visa, Mastercard, Amex, UnionPay, JCB"
              },
              {
                "name": "issueNum",
                "kind": "required",
                "type": "string",
                "description": "This is only needed for card different from Visa, Mastercard, Amex, UnionPay, JCB"
              },
              {
                "name": "vccBalance",
                "kind": "required",
                "type": "string",
                "description": "VCC current balance"
              },
              {
                "name": "vccCurrencyCode",
                "kind": "required",
                "type": "string",
                "description": "VCC currency (ISO 4217)."
              },
              {
                "name": "vccDeactivationDate",
                "kind": "required",
                "type": "string",
                "description": "Deactivation date."
              },
              {
                "name": "vccActivationDate",
                "kind": "required",
                "type": "string",
                "description": "Activation date."
              },
              {
                "name": "seriesCode",
                "kind": "required",
                "type": "string",
                "description": ""
              }
            ]
          },
          {
            "name": "totalCharge",
            "kind": "required",
            "type": "object",
            "description": "The type of tax applied to the booking (e.g., VAT, City Tax, Service Tax).",
            "children": [
              {
                "name": "taxDetails",
                "kind": "required",
                "type": "object",
                "description": "",
                "children": [
                  {
                    "name": "typeTax",
                    "kind": "required",
                    "type": "string",
                    "description": "The type of tax applied to the booking (e.g., VAT, FEES)."
                  },
                  {
                    "name": "includes",
                    "kind": "required",
                    "type": "string",
                    "description": "Indicates whether the tax amount is included in the room price.\n\n1 = Tax is included in the price\n0 = Tax is not included (added on top)\n"
                  },
                  {
                    "name": "taxPrice",
                    "kind": "required",
                    "type": "string",
                    "description": "The value of the tax.\nCan represent either a percentage or a fixed amount, depending on the property setup."
                  },
                  {
                    "name": "taxDetails",
                    "kind": "required",
                    "type": "string",
                    "description": "Description of the tax applied to the booking (e.g., “TAX 10% not included”)."
                  }
                ]
              },
              {
                "name": "priceDetails",
                "kind": "required",
                "type": "object",
                "description": "Used to identify the rate type , the allowed value would be BAR or NET",
                "children": [
                  {
                    "name": "amountAfterTaxes",
                    "kind": "required",
                    "type": "string",
                    "description": "Total reservation amount after taxes"
                  },
                  {
                    "name": "amountBeforeTaxes",
                    "kind": "required",
                    "type": "string",
                    "description": "Total reservation amount before taxes"
                  }
                ]
              }
            ]
          }
        ],
        "schema": [
          {
            "name": "propertyId",
            "kind": "required",
            "type": "string",
            "description": "Unique property identifier (shared mapping between Bakuun and the TPS partner)."
          },
          {
            "name": "propertyName",
            "kind": "required",
            "type": "string",
            "description": "Hotel/property name."
          },
          {
            "name": "reservationId",
            "kind": "required",
            "type": "string",
            "description": "Reservation ID generaed by Bakuun"
          },
          {
            "name": "reservationStatus",
            "kind": "required",
            "type": "string",
            "description": "Always set as Modify"
          },
          {
            "name": "checkIn",
            "kind": "required",
            "type": "string",
            "description": "ISO check-in datetime (e.g., 2025-10-05T15:00)."
          },
          {
            "name": "checkOut",
            "kind": "required",
            "type": "string",
            "description": "ISO check-out datetime (e.g., 2025-10-05T15:00)."
          },
          {
            "name": "paymentMethod",
            "kind": "required",
            "type": "string",
            "description": "Available payment method \nVCC, CC, BANK, CASH, CREDIT"
          },
          {
            "name": "currencyCode",
            "kind": "required",
            "type": "string",
            "description": "Booking currency (ISO 4217)."
          },
          {
            "name": "totalAdult",
            "kind": "required",
            "type": "string",
            "description": "Total adults across all rooms."
          },
          {
            "name": "totalChild",
            "kind": "required",
            "type": "string",
            "description": "Total children across all rooms."
          },
          {
            "name": "childAges",
            "kind": "required",
            "type": "object",
            "description": "Ages of all children.",
            "children": []
          },
          {
            "name": "totalBaby",
            "kind": "required",
            "type": "string",
            "description": "Total infant across all rooms. "
          },
          {
            "name": "babyAges",
            "kind": "required",
            "type": "object",
            "description": "Ages of all infant.",
            "children": []
          },
          {
            "name": "roomStays",
            "kind": "required",
            "type": "object",
            "description": "",
            "children": [
              {
                "name": "roomId",
                "kind": "required",
                "type": "string",
                "description": "Bakuun / TPS Partner room ID."
              },
              {
                "name": "roomName",
                "kind": "required",
                "type": "string",
                "description": "Room name"
              },
              {
                "name": "roomType",
                "kind": "required",
                "type": "string",
                "description": "DailyRoom would be the used default category "
              },
              {
                "name": "numberOfUnits",
                "kind": "required",
                "type": "string",
                "description": "Number of units booked. 1 would be the allowed min/maxvalue"
              },
              {
                "name": "rateId",
                "kind": "required",
                "type": "string",
                "description": "Bakuun / TPS Partner room rate ID."
              },
              {
                "name": "cancelPolicy",
                "kind": "required",
                "type": "string",
                "description": "Defines the cancellation policy associated with the selected ratePlanId. \nSupported options are:\n\nRefundable\nNon Refundable"
              },
              {
                "name": "adultCount",
                "kind": "required",
                "type": "string",
                "description": "Number of adults in this room."
              },
              {
                "name": "childCount",
                "kind": "required",
                "type": "string",
                "description": "Number of child in this room."
              },
              {
                "name": "childAges",
                "kind": "required",
                "type": "object",
                "description": "Ages of children."
              },
              {
                "name": "babyCount",
                "kind": "required",
                "type": "string",
                "description": "Number of infant in this room."
              },
              {
                "name": "babyAges",
                "kind": "required",
                "type": "object",
                "description": "Ages of infant."
              },
              {
                "name": "roomIndex",
                "kind": "required",
                "type": "string",
                "description": "Room index reference."
              },
              {
                "name": "resGuestRPH",
                "kind": "required",
                "type": "string",
                "description": "Guest index reference."
              },
              {
                "name": "bookingPerDayPrices",
                "kind": "required",
                "type": "object",
                "description": "Date-wise price list for the stay.",
                "children": [
                  {
                    "name": "dateYmd",
                    "kind": "required",
                    "type": "string",
                    "description": "ISO date  (e.g., 2025-10-25)."
                  },
                  {
                    "name": "price",
                    "kind": "required",
                    "type": "string",
                    "description": "Date-wise price."
                  }
                ]
              },
              {
                "name": "total",
                "kind": "required",
                "type": "object",
                "description": "",
                "children": [
                  {
                    "name": "amountAfterTaxes",
                    "kind": "required",
                    "type": "string",
                    "description": "Total amount for the room stay before taxes and fees."
                  },
                  {
                    "name": "amountBeforeTaxes",
                    "kind": "required",
                    "type": "string",
                    "description": "Total amount for the room stay after taxes and fees."
                  }
                ]
              },
              {
                "name": "roomIncServices",
                "kind": "required",
                "type": "object",
                "description": "",
                "children": [
                  {
                    "name": "serviceId",
                    "kind": "optional",
                    "type": "string",
                    "description": ""
                  },
                  {
                    "name": "incServiceName",
                    "kind": "optional",
                    "type": "string",
                    "description": ""
                  },
                  {
                    "name": "inclusion",
                    "kind": "optional",
                    "type": "string",
                    "description": ""
                  },
                  {
                    "name": "priceExtra",
                    "kind": "optional",
                    "type": "string",
                    "description": ""
                  }
                ]
              }
            ]
          },
          {
            "name": "guestDetails",
            "kind": "required",
            "type": "object",
            "description": "Standard guest contact information.",
            "children": [
              {
                "name": "resGuestRPH",
                "kind": "required",
                "type": "string",
                "description": "Guest index reference."
              },
              {
                "name": "firstName",
                "kind": "required",
                "type": "string",
                "description": "Guest first name."
              },
              {
                "name": "lastName",
                "kind": "required",
                "type": "string",
                "description": "Guest surname."
              },
              {
                "name": "middleName",
                "kind": "required",
                "type": "string",
                "description": "Optional"
              },
              {
                "name": "email",
                "kind": "required",
                "type": "string",
                "description": "Guest email."
              },
              {
                "name": "phone",
                "kind": "required",
                "type": "string",
                "description": "Guest phone number."
              },
              {
                "name": "address",
                "kind": "required",
                "type": "string",
                "description": "Guest address."
              },
              {
                "name": "country",
                "kind": "required",
                "type": "string",
                "description": "Guest country."
              }
            ]
          },
          {
            "name": "comment",
            "kind": "required",
            "type": "object",
            "description": "",
            "children": [
              {
                "name": "text",
                "kind": "required",
                "type": "string",
                "description": ""
              }
            ]
          },
          {
            "name": "paymentCard",
            "kind": "required",
            "type": "object",
            "description": "",
            "children": [
              {
                "name": "cardHolderName",
                "kind": "required",
                "type": "string",
                "description": "Name on card."
              },
              {
                "name": "cardType",
                "kind": "required",
                "type": "string",
                "description": "Visa/Mastercard/etc."
              },
              {
                "name": "cardCategory",
                "kind": "required",
                "type": "string",
                "description": "CC or VCC."
              },
              {
                "name": "cardNumber",
                "kind": "required",
                "type": "string",
                "description": "Valid card number"
              },
              {
                "name": "expiryMonth",
                "kind": "required",
                "type": "string",
                "description": "Expiry MM."
              },
              {
                "name": "expiryYear",
                "kind": "required",
                "type": "string",
                "description": "Expiry YYYY."
              },
              {
                "name": "startDayMonth",
                "kind": "required",
                "type": "string",
                "description": "Start day month  MM. \nThis is only needed for card different from Visa, Mastercard, Amex, UnionPay, JCB"
              },
              {
                "name": "startDayYear",
                "kind": "required",
                "type": "string",
                "description": "Start day year  YYYY.  \nThis is only needed for card different from Visa, Mastercard, Amex, UnionPay, JCB"
              },
              {
                "name": "issueNum",
                "kind": "required",
                "type": "string",
                "description": "This is only needed for card different from Visa, Mastercard, Amex, UnionPay, JCB"
              },
              {
                "name": "vccBalance",
                "kind": "required",
                "type": "string",
                "description": "VCC current balance"
              },
              {
                "name": "vccCurrencyCode",
                "kind": "required",
                "type": "string",
                "description": "VCC currency (ISO 4217)."
              },
              {
                "name": "vccDeactivationDate",
                "kind": "required",
                "type": "string",
                "description": "Deactivation date."
              },
              {
                "name": "vccActivationDate",
                "kind": "required",
                "type": "string",
                "description": "Activation date."
              },
              {
                "name": "seriesCode",
                "kind": "required",
                "type": "string",
                "description": ""
              }
            ]
          },
          {
            "name": "totalCharge",
            "kind": "required",
            "type": "object",
            "description": "The type of tax applied to the booking (e.g., VAT, City Tax, Service Tax).",
            "children": [
              {
                "name": "taxDetails",
                "kind": "required",
                "type": "object",
                "description": "",
                "children": [
                  {
                    "name": "typeTax",
                    "kind": "required",
                    "type": "string",
                    "description": "The type of tax applied to the booking (e.g., VAT, FEES)."
                  },
                  {
                    "name": "includes",
                    "kind": "required",
                    "type": "string",
                    "description": "Indicates whether the tax amount is included in the room price.\n\n1 = Tax is included in the price\n0 = Tax is not included (added on top)\n"
                  },
                  {
                    "name": "taxPrice",
                    "kind": "required",
                    "type": "string",
                    "description": "The value of the tax.\nCan represent either a percentage or a fixed amount, depending on the property setup."
                  },
                  {
                    "name": "taxDetails",
                    "kind": "required",
                    "type": "string",
                    "description": "Description of the tax applied to the booking (e.g., “TAX 10% not included”)."
                  }
                ]
              },
              {
                "name": "priceDetails",
                "kind": "required",
                "type": "object",
                "description": "Used to identify the rate type , the allowed value would be BAR or NET",
                "children": [
                  {
                    "name": "amountAfterTaxes",
                    "kind": "required",
                    "type": "string",
                    "description": "Total reservation amount after taxes"
                  },
                  {
                    "name": "amountBeforeTaxes",
                    "kind": "required",
                    "type": "string",
                    "description": "Total reservation amount before taxes"
                  }
                ]
              }
            ]
          }
        ]
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "hasTryItOut": false,
  "response": [
    {
      "name": "success",
      "kind": "optional",
      "type": "boolean",
      "description": ""
    }
  ],
  "autoGeneratedAnchorSlug": "modify-booking",
  "legacyHash": "MMsQ2VOAQp42VYYSnjc-h"
}
```
:::

