Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Suppliers → Updates A Supplier

AI-generated

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 automating supplier data maintenance, synchronizing supplier records from other systems, or correcting supplier information without manual intervention.

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 must be set via credentials or environment variables.

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 properly configured.
    • Network errors if the external API 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 provided and correctly formatted.
  • To resolve these, verify credentials, confirm IDs, and check network connectivity.

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 configuration.

Discussion