Example - Booking Modification

This support article is under construction 👷

Please pardon the incompleteness while we work on this. We have made the article visible in the meantime because the content may be useful.

The ModifyBooking endpoint is only available to MOR channel partners.

When sending orderItem elements that are not RENTAL type, make sure to include the externalId of the lodging rate element that sourced them so they can be mapped back to the correct item. This should start with ORSUR (for fees and discounts) or ORTAX (for taxes): 

cURL example:

curl --user ${ownerrez_user}:${ownerrez_key} --location --request POST "${ownerrez_api}/haolb/modifybooking?type=${ownerrez_user}&key=${ownerrez_key}&bookingId=${ownerrez_booking_id}" \

XML payload:

<bookingRequest>
<documentVersion>1.3</documentVersion>
<bookingRequestDetails>
<advertiserAssignedId>ora7ccdcde3fx</advertiserAssignedId>
<listingExternalId>orp5b2abax</listingExternalId>
<unitExternalId>orp5b2abax</unitExternalId>
<clientIPAddress>127.0.0.1</clientIPAddress>
<commission>
<ownerFee currency="USD">100.00</ownerFee>
</commission>
<olbMeta>
<serviceFee currency="USD">125.50</serviceFee>
</olbMeta>
<reservation>
<numberOfAdults>2</numberOfAdults>
<numberOfChildren>0</numberOfChildren>
<numberOfPets>0</numberOfPets>
<reservationDates>
<beginDate>2023-03-16</beginDate>
<endDate>2023-03-21</endDate>
</reservationDates>
<reservationOriginationDate>2020-08-21T09:30:47Z</reservationOriginationDate>
</reservation>
<orderItemList>
<orderItem>
<feeType>RENTAL</feeType>
<name>5 nights</name>
<preTaxAmount currency="GBP">1605.00</preTaxAmount>
<status>PENDING</status>
<taxRate>0.000000</taxRate>
<totalAmount currency="GBP">1605.00</totalAmount>
</orderItem>
<orderItem>
<externalId>ORSUR102513996</externalId>
<feeType>MISC</feeType>
<name>Cleaning fee based on £150.00 per stay</name>
<preTaxAmount currency="GBP">150.00</preTaxAmount>
<status>PENDING</status>
<taxRate>0.000000</taxRate>
<totalAmount currency="GBP">150.00</totalAmount>
</orderItem>
<orderItem>
<externalId>ORTAX1525</externalId>
<feeType>TAX</feeType>
<name>State Tax</name>
<preTaxAmount currency="GBP">120.00</preTaxAmount>
<status>PENDING</status>
<totalAmount currency="GBP">120.00</totalAmount>
</orderItem>
</orderItemList>
<paymentForm>
<paymentChannelMoR>
<paymentFormType>CHANNELMOR</paymentFormType>
<bankName>WellsFargo</bankName>
<bankLastFour>9999</bankLastFour>
  <projectedDepositDate>2023-09-01</projectedDepositDate>
</paymentChannelMoR>
</paymentForm>
</bookingRequestDetails>
</bookingRequest>