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 update folio records using the PATCH HTTP method. It allows users to apply partial modifications to a folio by specifying a set of operations in JSON Patch format. This is useful for scenarios where you want to update specific fields or elements of a folio without replacing the entire resource.
Practical examples include:
- Adjusting charges or payments on a guest's folio.
- Adding or removing line items.
- Correcting details such as descriptions or amounts on existing folio entries.
Properties
| Name | Meaning |
|---|---|
| Folio ID | The unique identifier of the folio to be updated. |
| Update Operations | A JSON array defining the list of patch operations to apply to the folio, following the JSON Patch standard (e.g., add, remove, replace). |
Output
The node outputs an array of JSON objects representing the updated folio(s) after applying the patch operations. Each output item corresponds to one input item processed and contains the updated folio data in its json field.
If an error occurs during processing and "Continue On Fail" is enabled, the output will include an object with an error message and an empty json object for that item.
No binary data output is produced by this node.
Dependencies
- Requires an API authentication token credential for Apaleo API access.
- The node uses the base URL
https://api.apaleo.comand expects JSON content-type headers. - No additional external dependencies are required beyond the configured Apaleo API credentials.
Troubleshooting
- Common issues:
- Invalid or expired API token causing authentication failures.
- Malformed JSON Patch operations leading to API errors.
- Providing a non-existent Folio ID resulting in not found errors.
- Error messages:
- Authentication errors typically indicate invalid credentials; re-authenticate or update the API token.
- Patch operation errors may specify which operation failed; verify the JSON Patch syntax and paths.
- Not found errors suggest the Folio ID does not exist; confirm the correct ID is used.
- Enabling "Continue On Fail" allows the node to process multiple inputs even if some fail, returning error details per item.