Update Reservation

Method:   PATCH
JSON:     https://effectivetours.com/api/agenda/reservations/<RESERVATION_ID>.json

Parameters

RESERVATION_IDID of Reservation

GET Parameters

KEYAPI Key

POST Parameters

start_dateCheck In date. Format: YYYY-MM-DD. Optional.
finish_dateCheck Out date. Format: YYYY-MM-DD. Optional.
room_typeRoom Type ID. Integer, optional.
accommodationAccommodation. One of SGL, DBL, TPL, HOUSE. Optional.
roomRoom ID. Integer, optional.
is_acceptedStatus. true - Booked. false - Hold. Optional.
adultsCount of adults. Integer, optional.
childrenCount of children. Integer, optional.
priceReservation total price. Decimal, optional.
revenueRevenue. Decimal, optional.
first_nameGuest's first name. Optional.
last_nameGuest's last name. Optional.
emailGuest's email. Optional.
phoneGuest's phone number. Optional.
commentComment. Optional.

JSON response

{
    "adults": 2,
    "children": 0,
    "comment": "updated",
    "finish_date": "2022-01-27",
    "first_name": "John",
    "is_accepted": true,
    "last_name": "Smith",
    "price": "121.00",
    "revenue": "121.00",
    "start_date": "2022-01-25"
}