Reservation State Update

With this endpoint, PMS will be able to change state of a reservation to 'confirmed' or 'canceled' . The capability of the state updates on a reservation is indicated with 'requires_response' key in reservation object. If this key is true, then PMS will be able to update state.


// Example Request Snippet for JavaScript XHR

var settings = {
  "async": true,
  "crossDomain": true,
  "url": "",
  "method": "PUT",
  "headers": {
    "cache-control": "no-cache",

$.ajax(settings).done(function (response) {

The above command returns json structured like this:

        "status": "ok",


        "status": "error", 
        "message": "state_change_is_not_available" 

Query Parameters

Parameter Default Required Description
hr_number - Yes Reservation code on HotelRunner
event - Yes Next state events. Can be one of the followings: confirm, cancel.
cancel_reason - Yes If event is cancel, then cancel reason must be one of the followings: customer, no_room, no_show, invalid_price .