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 activate or archive suppliers programmatically, such as managing supplier lifecycle states in procurement or vendor management workflows. For example, after verifying a supplier's compliance, you might set their status to "Active," or if a supplier relationship ends, you could archive them to prevent further transactions.

Properties

Name Meaning
Account Id Identifier of the account to which the supplier belongs.
Supplier Id Identifier of the supplier whose status is being updated.
Status The new status of the supplier. Options: "Active" (supplier is active), "Archived" (supplier is archived).

Output

The node outputs JSON data representing the result of the update operation. This typically includes confirmation of the supplier's updated status and any relevant metadata returned by the API. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential for authentication with the external service.
  • The node uses a base URL configured in credentials to send HTTP requests.
  • Depends on an OpenAPI-based client library bundled with the node for making API calls.

Troubleshooting

  • Common issues:

    • Invalid or missing Account Id or Supplier Id will cause the update to fail.
    • Incorrect or expired API credentials can lead to authentication errors.
    • Network connectivity problems may prevent the node from reaching the API endpoint.
  • Error messages:

    • Authentication failures usually indicate invalid API keys; verify and update credentials.
    • Validation errors often point to missing required properties; ensure all required fields are provided.
    • HTTP errors like 404 suggest the specified supplier or account does not exist; double-check identifiers.

Links and References

  • No direct external links were found in the source code. For more information, consult the API documentation of the supplier management system integrated with this node.

Discussion