Actions66
- Block Actions
- Block Action Actions
- Booking Actions
- Group Actions
- Offer Actions
- Payment Account Actions
- Payment Account Action Actions
- Reservation Actions
- Reservation Action Actions
- Types Actions
- Folio Actions
- Folio Action Actions
Booking → PATCH Booking
AI-generatedOverview
This node operation updates an existing booking in the Apaleo system by applying JSON patch operations. It is useful for scenarios where you need to modify specific fields of a booking without replacing the entire booking data, such as updating dates, guest information, or booking status.
Use Case Examples
- Updating the check-in date of a booking by specifying a JSON patch operation to replace the date field.
- Changing the booking status to confirmed by applying a JSON patch operation on the status field.
Properties
| Name | Meaning |
|---|---|
| Booking ID | The unique identifier of the booking to be updated. |
| Update Operations | A JSON array of patch operations following the JSON Patch standard (http://jsonpatch.com/) to apply to the booking. |
Output
JSON
id- The unique identifier of the updated booking.status- The current status of the booking after the update.updatedFields- Details of the fields that were updated as a result of the patch operations.
Dependencies
- Requires an API authentication token credential to access the Apaleo API.
Troubleshooting
- Common issues include providing an invalid booking ID, which results in a not found error from the API.
- Malformed JSON patch operations can cause the API to reject the update request with a validation error.
- Network or authentication errors may occur if the API token is missing or expired.
Links
- JSON Patch Specification - Reference for the JSON patch operations format used to update the booking.
- Apaleo API Documentation - Official documentation for the Apaleo API, including booking resource details.