Kobana icon

Kobana

Interact with Kobana API - Quick access to common operations

Actions215

Update

AI-generated

Overview

This node provides integration with the Kobana API, enabling users to perform various operations on multiple Kobana resources. Specifically, the Update operation for the Default resource allows updating an existing resource by its ID with a JSON request body. This is useful for modifying details of entities such as bank billets, customers, subscriptions, webhooks, and more within the Kobana platform.

Common scenarios include:

  • Updating a bank slip's details (e.g., due date, amount).
  • Modifying customer information.
  • Changing subscription parameters.
  • Adjusting webhook configurations.

Practical example:

  • You have a bank billet that needs its due date extended. Using this node, you specify the resource as "Bank Billets," operation as "Update," provide the billet ID, and supply the updated fields in the JSON body.

Properties

Name Meaning
ID The unique identifier of the resource to update.
Request Body JSON object containing the fields and values to update on the resource.
Additional Fields Optional JSON object with extra fields for the request (used in some operations).

Output

The node outputs a JSON array where each item corresponds to the response from the Kobana API for the update request. The structure of the JSON depends on the resource updated but generally includes the updated resource's details as returned by the API.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for Kobana API authentication.
  • The node dynamically selects the API base URL depending on the environment (production or sandbox).
  • No additional external dependencies are required beyond the Kobana API access.

Troubleshooting

  • Invalid JSON in Request Body: If the JSON provided in the "Request Body" property is malformed, the node will throw a parsing error. Ensure the JSON syntax is correct.
  • Resource Not Found: Providing an incorrect or non-existent ID will result in an error from the API indicating the resource was not found. Verify the ID before updating.
  • Authentication Errors: If the API key credential is missing or invalid, the node will fail to authenticate. Check that the correct API key is configured.
  • Permission Denied: Some updates may require specific permissions. Ensure the API key has sufficient rights.
  • API Rate Limits: Excessive requests might be throttled by the Kobana API. Implement error handling or delays if needed.

Links and References

Discussion