Skip to content

Reporting Change of Booking Status

To send the booking status code and update it, you can use the following endpoint:

PUT https://[base_url]/v1/bookings/{booking_number}?checkin_status={checkin_status}&hotel_id={hotel_id}&portal_code={portal_code}&refound_amount={refound_amount}

Example:

PUT https://[base_url]/v1/bookings/69874584?checkin_status=1&hotel_id=11111&portal_code=booking&refound_amount=1500

Query parameters

PARAMETER TYPE REQ. DESCRIPTION OBSERVATIONS
booking_number Integer Yes Integer representing the unique reservation identifier in Roomcloud. Autocore validates against reservation code and CRS ID
checkin_status Integer Yes Number that identifies the states that can be reported, with the following equivalences: 0 = Pending, 1 = Check-in, 2 = No-Show, 3 = Canceled, 4 = Early departure
hotel_id Integer Yes Integer representing the unique identifier of the hotel in Roomcloud
portal_code String Yes Refers to the OTA associated with a reservation, accepting the following values: booking, expedia, despegar, hyperguest
refound_amount Float No Refers to the refund amount. This cannot exceed the total scheduled amount. This field is required for checkin_status: 4; for other states, if the parameter is sent, it will be ignored.

Endpoint response

Status code: 200

{
    "msg":"No se requiere la actualización al estado de la reserva en este momento."
}

or

{
    "msg":"Cambio de estado del checkin concluido satisfactoriamente."
}

Status code: 401, 403, 404

{
 "code": "Status code",
 "message":"Error description",
 "detail": "Error details"
}