External Reservation Update
PATCH/v1/api/externalReservation/:reservationId
Endpoint to update external hotel reservations in the Niara system using an external reservation ID.
Request
Path Parameters
Niara's external reservation ID (reservationId returned on CreateExternalReservation).
- application/json
Body
Hotel ID.
Check-in date (ISO 8601 format).
Check-out date (ISO 8601 format).
Number of nights.
Reservation status [CONFIRMED or CANCELLED].
Reservation source.
Primary guest name.
Primary guest CPF.
Primary guest email.
Currency. (ISO 4217 code)
Net price of the reservation.
Reservation taxes price.
Number of adults in the reservation.
Number of children in the reservation.
List of children's ages in the reservation.
Reservation room name.
Reservation rate plan name.
Indicates if the reservation is non-refundable, true if the reservation is non-refundable.
Date on which the cancellation penalty applies, if the reservation is refundable. (ISO 8601)
Meal plan.
Comission price.
Reservation comments.
Guest Journey Status [CHECKED_IN, CHECKED_OUT, NO_SHOW].
Your system's external ID for the primary guest.
Primary guest passport number.
Nationality of the primary guest (ISO 3166-1 alpha-2 country code).
Responses
- 200
UpdateExternalReservationResponse()
- application/json
- Schema
- Example (from schema)
Schema
object
{}