Apaleo icon

Apaleo

Interact with Apaleo API

Overview

This node integrates with the Apaleo API, a platform for property management and booking services. Specifically, the "Block" resource with the "DELETE block" operation allows users to delete a block by its unique identifier. Blocks typically represent reserved or blocked inventory in a booking system, such as rooms or resources held for specific purposes.

Use cases include:

  • Removing a previously created block that is no longer needed.
  • Managing inventory dynamically by clearing blocks when cancellations or changes occur.
  • Automating cleanup of expired or unused blocks in a property management workflow.

Example: Automatically deleting a block after a reservation cancellation to free up inventory.

Properties

Name Meaning
Block ID ID of the block to be deleted.

The "Block ID" is a required string input specifying which block should be removed.

Output

The node outputs an array of JSON objects corresponding to each input item processed. For the DELETE block operation, the output JSON typically contains confirmation of deletion or relevant status information returned by the Apaleo API. The exact structure depends on the API response but generally includes success indicators or error details if deletion fails.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Apaleo API.
  • Needs an API authentication token (access token) configured in the node credentials.
  • The base URL used is https://api.apaleo.com.
  • Proper permissions on the API key to perform block deletions are necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing Block ID will cause the operation to fail.
    • Insufficient API permissions can result in authorization errors.
    • Network connectivity problems may prevent reaching the Apaleo API.
  • Error messages:

    • "Block not found": The specified Block ID does not exist; verify the ID.
    • "Unauthorized" or "Forbidden": Check API credentials and permissions.
    • "Request failed" or timeout errors: Confirm network access and API availability.

To resolve errors, ensure the Block ID is correct, the API token is valid and has delete rights, and the network connection is stable.

Links and References

Discussion