Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node operation retrieves a list of items associated with a specific purchase order within an account. It is useful in scenarios where you need to fetch detailed line items or components that make up a particular purchase order, such as for auditing, reporting, or integration with other systems like inventory or accounting software.

Practical examples include:

  • Extracting all products or services ordered under a given purchase order to update stock levels.
  • Generating detailed invoices or delivery notes based on the purchase order items.
  • Synchronizing purchase order details with external ERP or financial systems.

Properties

Name Meaning
Account Id Identifier of the account
Purchase Order Id Identifier of the purchase order

Output

The output JSON contains the list of purchase order items retrieved for the specified purchase order. Each item typically includes details such as product identifiers, quantities, prices, descriptions, and any other relevant metadata related to the purchase order line items.

If the node supports binary data output (not indicated explicitly here), it would generally represent attachments or documents related to the purchase order items.

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 API endpoint.
  • Depends on the external purchase order management system's API being accessible and responsive.

Troubleshooting

  • Missing or invalid Account Id or Purchase Order Id: Ensure these required properties are correctly set; otherwise, the API call will fail.
  • Authentication errors: Verify that the API key or authentication token is valid and has sufficient permissions.
  • Network issues or API downtime: Check connectivity and the status of the external service.
  • Unexpected response structure: If the API changes, the node might not parse the response correctly; verify API version compatibility.

Links and References

  • Refer to the external purchase order system’s API documentation for detailed information about the purchase order items endpoint.
  • n8n documentation on creating and configuring API credentials.

Discussion