Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Account Codes → Update Account Codes

AI-generated

Overview

This node updates account codes in an external system via an API. It is useful when you need to modify existing account code details programmatically within an n8n workflow, such as updating financial or organizational data linked to accounts.

Practical examples include:

  • Automatically correcting or enriching account code information based on external triggers.
  • Synchronizing updated account codes from another system into the target platform.
  • Bulk updating account codes by looping over multiple inputs.

Properties

Name Meaning
Account Id Identifier of the account whose account code you want to update.
Body JSON object representing the account code data to update, excluding autogenerated fields.

Output

The node outputs a JSON object representing the updated account code as returned by the API. This typically includes all fields of the account code after the update operation has been applied.

No binary data output is involved.

Dependencies

  • Requires an API key credential for authenticating requests to the external service.
  • The base URL for the API must be configured in the node credentials.
  • The node uses HTTP requests with JSON payloads to communicate with the API.

Troubleshooting

  • Invalid Account Id: If the provided account identifier does not exist, the API may return a 404 error. Verify the account ID is correct.
  • Malformed JSON Body: Ensure the JSON in the "Body" property is valid and matches the expected schema without autogenerated fields.
  • Authentication Errors: Missing or invalid API credentials will cause authentication failures. Confirm that the API key and base URL are correctly set.
  • API Rate Limits: Frequent updates might hit rate limits imposed by the API provider; consider adding delays or retries.

Links and References

  • Refer to the external API documentation for the exact structure of the account code object and supported fields.
  • Consult n8n documentation on how to configure API credentials and use JSON input properties.

Discussion