Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node updates an existing supplier in an external system by specifying the account and supplier identifiers. It is useful when you need to modify supplier details programmatically within an automation workflow, such as updating contact information, status, or other supplier-related data.

Practical examples include:

  • Automatically updating supplier records after receiving new information from a CRM.
  • Synchronizing supplier data between different platforms.
  • Triggering supplier updates based on changes in inventory or purchase orders.

Properties

Name Meaning
Account Id Identifier of the account
Supplier Id Identifier of the supplier

Output

The node outputs JSON data representing the updated supplier information returned from the external API after the update operation. This typically includes the supplier's current state with all relevant fields reflecting the changes made.

If the node supports binary data output (not evident from the provided code), it would represent any file or media related to the supplier update, but no such indication is present here.

Dependencies

  • Requires an API key credential for authenticating requests to the external service.
  • The node depends on an OpenAPI specification (payhawk.api.json) to define its operations and properties.
  • The base URL for API requests is configured via credentials.
  • Uses the @devlikeapro/n8n-openapi-node package for handling OpenAPI-based operations.

Troubleshooting

  • Missing Required Properties: Ensure both "Account Id" and "Supplier Id" are provided; otherwise, the node will fail to identify which supplier to update.
  • Authentication Errors: Verify that the API key or authentication token is correctly set up in the node credentials.
  • API Endpoint Issues: Confirm that the base URL and endpoint paths are correct and accessible.
  • Invalid Supplier or Account IDs: If the IDs do not exist or are incorrect, the API may return errors indicating the resource was not found.

Links and References

  • OpenAPI Specification
  • Documentation for the external API (not provided here, but typically available from the service provider)

Discussion