Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node operation retrieves a list of custom fields associated with suppliers in an account. It is useful when you need to dynamically access or display additional metadata fields that have been defined for suppliers beyond the standard attributes. For example, if your supplier records include custom fields like "Preferred Shipping Method" or "Tax ID," this operation allows you to fetch those field definitions to understand what extra data can be stored or queried.

Properties

Name Meaning
Account Id Identifier of the account whose supplier custom fields you want to retrieve

Output

The output JSON contains the list of custom fields defined for suppliers within the specified account. Each item in the list typically includes details such as the field name, type, and possibly other metadata describing the custom field. This enables downstream nodes or workflows to utilize these fields for further processing or display.

No binary data output is expected from this operation.

Dependencies

  • Requires an API key credential or similar authentication token configured in n8n to authorize requests.
  • The node interacts with an external API endpoint (base URL configured via credentials) to fetch supplier custom fields.
  • Proper configuration of the base URL and authentication credentials is necessary for successful execution.

Troubleshooting

  • Missing or invalid Account Id: Ensure the "Account Id" property is provided and correctly corresponds to an existing account; otherwise, the API may return errors or empty results.
  • Authentication errors: Verify that the API key or authentication token is valid and has sufficient permissions to access supplier custom fields.
  • Network or connectivity issues: Check network settings and ensure the external API endpoint is reachable.
  • Unexpected response format: If the API changes its response structure, the node might not parse the output correctly; updating the node or checking API documentation may be required.

Links and References

  • Refer to the external API documentation for supplier custom fields to understand the exact structure and usage of these fields.
  • Consult n8n documentation on configuring API credentials and handling HTTP request nodes for more details on setup.

Discussion