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 that supplier to keep your records 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 of the status change and may contain updated supplier details. There is no binary output.

Dependencies

  • Requires an API key credential for authentication with the external service managing suppliers.
  • The node sends HTTP requests to the configured base URL of the supplier management API.
  • Proper configuration of the API base URL and authentication credentials in n8n is necessary.

Troubleshooting

  • Missing or invalid Account Id or Supplier Id: Ensure these identifiers are correct and correspond to existing entities in the system.
  • Invalid status value: Only "active" or "archived" are accepted; using other values will cause errors.
  • Authentication errors: Verify that the API key or authentication token is valid and has sufficient permissions.
  • Network or API errors: Check connectivity and API availability; inspect error messages for rate limits or server issues.

Links and References

  • Refer to the external supplier management API documentation for detailed information on status updates and required parameters.
  • Consult n8n documentation on setting up API credentials and HTTP request nodes for additional context.

Discussion