Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node updates the status of a supplier within an account. It is useful in scenarios where you need to manage supplier lifecycle states, such as activating a new supplier or archiving an inactive one. For example, if a supplier relationship ends, you can archive their record to keep your system clean without deleting data. Conversely, when onboarding a new supplier, you can set their status to active.

Properties

Name Meaning
Account Id Identifier of the account to which the supplier belongs.
Supplier Id Identifier of the supplier whose status you want to update.
Status The new status of the supplier. Options: Active (supplier is currently active), Archived (supplier is no longer active).

Output

The node outputs JSON data representing the updated supplier status response from the API. This typically includes confirmation that the supplier's status was changed successfully and may contain the updated supplier details. There is no binary data output.

Dependencies

  • Requires an API key credential for authentication with the external service managing suppliers.
  • The node uses HTTP requests to interact with the supplier management API.
  • The base URL and authentication credentials must be configured in n8n for this node to function correctly.

Troubleshooting

  • Missing or invalid Account Id or Supplier Id: Ensure these identifiers are correct and correspond to existing records; otherwise, the API will return errors.
  • Invalid status value: Only "active" or "archived" are accepted. Providing other values will cause the request to fail.
  • Authentication errors: Verify that the API key or authentication token is valid and has sufficient permissions.
  • Network issues: Check connectivity to the external API endpoint.
  • API rate limits: If too many requests are sent in a short time, the API might throttle or block requests temporarily.

Links and References

  • Refer to the external supplier management API documentation for detailed information on supplier statuses and account management.
  • n8n documentation on setting up API credentials and HTTP request nodes for further customization.

Discussion