v1

latestOpenAPI 3.0.02026-07-26866217.8 KB
Reservations

Update Stay Status

Update the stay status of a reservation. This endpoint allows you to change the status of a stay between different states such as check-in pending, in-house, and stay completed.

put/reservations/{stay_code}/stay_status

Path parameters

stay_codestring required

The code of the stay to update.

Request body

stay_status'checkin_pending' | 'in_house' | 'stay_completed' required

The new status for the stay.

Response

The stay status has been successfully updated.

request_idstring required

Unique identifier for the request.

error_codeinteger required

Numeric error code representing the status of the response. A value of 200 indicates success. <br> See the Error Codes section for more information.

error_msgstring required

Message detailing the status of the response.

Example response

{
  "error_msg": "Done."
}