Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node operation retrieves a specific item from a purchase order within an account. It is useful when you need to fetch detailed information about a particular purchase order item, such as its status, quantity, price, or other metadata associated with that item.

Practical examples include:

  • Fetching details of a single purchase order item to display in a dashboard.
  • Validating the existence or status of a purchase order item before processing further business logic.
  • Integrating with external systems that require item-level purchase order data.

Properties

Name Meaning
Account Id Identifier of the account to which the purchase order belongs.
Purchase Order Id Identifier of the purchase order containing the item.
Purchase Order Item Id Identifier of the specific purchase order item to retrieve.

Output

The output JSON contains the detailed data of the requested purchase order item. This typically includes all relevant fields describing the item, such as product details, quantities, prices, statuses, and any custom metadata provided by the API.

If the node supports binary data (not indicated here), it would represent attachments or files related to the purchase order item, but this operation appears focused on JSON data only.

Dependencies

  • Requires an API key credential for authenticating requests to the external service managing purchase orders.
  • The node uses a base URL configured via credentials to connect to the API endpoint.
  • The operation depends on the external purchase order management API being available and accessible.

Troubleshooting

  • Missing or invalid identifiers: Ensure that the Account Id, Purchase Order Id, and Purchase Order Item Id are correctly provided and correspond to existing entities in the system.
  • Authentication errors: Verify that the API key or authentication token is valid and has sufficient permissions to access purchase order data.
  • Network issues: Confirm that the API base URL is reachable from the n8n environment.
  • API errors: If the API returns errors (e.g., 404 Not Found), check that the specified purchase order item exists under the given purchase order and account.

Links and References

  • Refer to the external purchase order API documentation for detailed schema and field descriptions of purchase order items.
  • Consult n8n documentation on how to configure API credentials and handle HTTP request nodes for similar integrations.

Discussion