Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node updates an existing supplier in a specified account. It is useful when you need to modify supplier details such as contact information, status, or other attributes maintained by the external system managing suppliers. Typical use cases include synchronizing supplier data from another system, correcting supplier records, or automating supplier management workflows.

Properties

Name Meaning
Account Id Identifier of the account where the supplier exists. This specifies the context for the update operation.
Supplier Id Identifier of the supplier to be updated. This tells the node which supplier record to modify.

Output

The node outputs JSON data representing the updated supplier object after the operation completes successfully. The structure typically includes the supplier's updated fields and metadata confirming the changes. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential or similar authentication token configured in n8n to authorize requests to the external supplier management service.
  • The node depends on an OpenAPI specification (payhawk.api.json) for defining its operations and properties.
  • Network connectivity to the external API endpoint is necessary.
  • The base URL for the API is expected to be provided via credentials or environment configuration.

Troubleshooting

  • Common issues:
    • Invalid or missing Account Id or Supplier Id will cause the update to fail.
    • Authentication errors if the API key or token is not set or expired.
    • Network errors if the API endpoint is unreachable.
  • Error messages:
    • "Unauthorized" or "Authentication failed": Check API credentials and permissions.
    • "Supplier not found": Verify that the Supplier Id is correct and exists within the specified account.
    • "Invalid input": Ensure all required fields are correctly formatted and present.
  • To resolve these, verify credentials, confirm IDs, and check network access.

Links and References

  • Refer to the external supplier management API documentation for detailed field definitions and update semantics.
  • n8n documentation on setting up API credentials and using HTTP request nodes may help with troubleshooting authentication and connectivity issues.

Discussion