Apaleo icon

Apaleo

Interact with Apaleo API

Actions66

Booking → PATCH Booking

AI-generated

Overview

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

  1. Updating the check-in date of a booking by specifying a JSON patch operation to replace the date field.
  2. 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

Discussion