Actions57
- Booking Actions
- Group Actions
- Offer Actions
- Block Actions
- Block Action Actions
- Reservation Actions
- Reservation Action Actions
- Types Actions
- Folio Actions
- Folio Action Actions
Overview
This node integrates with the Apaleo API to manage bookings and related resources. Specifically, for the PATCH Booking operation, it allows users to update an existing booking by applying JSON Patch operations. This is useful in scenarios where partial updates to a booking are needed without sending the entire booking data again.
Practical examples include:
- Modifying the dates or details of a booking.
- Updating guest information or special requests.
- Adjusting booking status or other mutable fields dynamically.
The node supports multiple resources and operations, but focusing on the Booking resource and the PATCH Booking operation, it applies JSON Patch instructions to modify the booking identified by its ID.
Properties
| Name | Meaning |
|---|---|
| Booking ID | The unique identifier of the booking to be updated. |
| Update Operations | JSON Patch operations to apply to the booking. These follow the JSON Patch standard and specify the changes to make (e.g., add, remove, replace). |
Output
The output is an array of JSON objects corresponding to each input item processed. For the PATCH Booking operation, each output item contains the updated booking data in the json field after applying the patch operations.
The structure typically includes all relevant booking fields as returned by the Apaleo API after the update.
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the Apaleo API.
- Needs an API authentication token credential configured in n8n to authorize requests.
- The base URL used is
https://api.apaleo.com. - The node sends and receives JSON-formatted data.
Troubleshooting
- Invalid Booking ID: If the provided booking ID does not exist or is malformed, the API will return an error. Verify the booking ID correctness.
- Malformed JSON Patch: The update operations must conform to the JSON Patch specification. Invalid patch syntax or unsupported operations will cause errors.
- Authentication Errors: Ensure the API token credential is valid and has sufficient permissions to update bookings.
- Network Issues: Connectivity problems with the Apaleo API endpoint can cause request failures.
- Partial Failures: When processing multiple items, if one fails and "Continue On Fail" is disabled, the node execution stops. Enable "Continue On Fail" to process all inputs regardless of individual errors.