Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Purchase Orders → Get A Purchase Order Item

AI-generated

Overview

This node operation retrieves a specific purchase order item from a given purchase order within an account. It is useful in scenarios where you need detailed information about a particular item listed in a purchase order, such as verifying quantities, prices, or item descriptions.

Practical examples include:

  • Fetching details of a single item to update inventory records.
  • Validating purchase order items before processing payments.
  • Integrating with accounting 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 details for.

Output

The output JSON contains the detailed data of the requested purchase order item. This typically includes fields such as item description, quantity, price, tax details, and any other metadata associated with the purchase order item.

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

Dependencies

  • Requires an API key credential to authenticate requests against the external service managing purchase orders.
  • The node uses a base URL configured via credentials to connect to the purchase order service API.
  • No additional external dependencies are indicated beyond standard HTTP request handling.

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: Check connectivity to the external API endpoint and confirm that the base URL is correctly configured.
  • Error messages: Common errors may include "Not Found" if the specified purchase order item does not exist, or "Unauthorized" if authentication fails. Resolving these involves verifying input IDs and credentials.

Links and References

  • Refer to the external purchase order service API documentation for detailed schema and field definitions of purchase order items.
  • Consult n8n documentation on setting up API key credentials and configuring HTTP request nodes for further customization.

Discussion