The reservation resource represents a Property reservation for one Unit. To create a reservation, you need to pass an Offer id which was obtained by after calling the Availability endpoint.
guests field in the PUT reservations request represents the last state of the associated guests in the reservation. In order to add/update/delete guest(s), modify the guest list that returns from GET reservations request. The way Katanox API expects guest updates is as follows.
- Step 1: Retrieve a reservation as mentioned in documentation
- Step 2: Modify
- Step 3: Send a reservation update request as mentioned in documentation
- Step 4: Retrieve the reservation again and see that the associated guests in the reservation are updated.
Updated about 1 month ago