Apaleo icon

Apaleo

Interact with Apaleo API

Actions66

Block Action → PUT amend block

AI-generated

Overview

This node performs an amendment action on a specific block within the Apaleo API. It is used to update the details of an existing block by providing the block's ID and the new data to amend it with. This operation is beneficial in scenarios where block information needs to be modified, such as changing booking details or correcting block attributes.

Use Case Examples

  1. Updating the dates or guest information of a block reservation.
  2. Correcting or adding additional details to an existing block in a booking system.

Properties

Name Meaning
Block ID The ID of the block to perform the action on.
Block Data The data to update the block with, provided in JSON format.

Output

JSON

  • blockId - The ID of the block that was amended.
  • blockData - The updated data of the block after amendment.

Dependencies

  • Requires an API authentication token (access token) for the Apaleo API.

Troubleshooting

  • Ensure the Block ID provided is valid and exists in the system to avoid 'not found' errors.
  • Validate the JSON structure of the Block Data to prevent malformed data errors.
  • Check API authentication token validity to avoid authorization errors.

Links

Discussion