Actions99
- Group Accounts Actions
- Group Account Codes Actions
- Accounts Actions
- Expenses Actions
- Purchase Orders Actions
- Get A List Of Purchase Orders
- Create A New Purchase Order
- Get A Purchase Order
- Update A Purchase Order
- Open A Purchase Order
- Get A List Of Purchase Orders Items For A Specific Purchase Order
- Create A Purchase Order Item
- Get A Purchase Order Item
- Update A Purchase Order Item
- Delete A Purchase Order Item
- Get A List Of Goods Received Notes For A Specific Purchase Order
- Create A Goods Received Note
- Attach A File To A Goods Received Note
- Delete A Goods Received Note
- Suppliers Actions
- Fund Accounts Actions
- Cards Actions
- Expense Categories Actions
- Tax Rates Actions
- Amortizations Actions
- Account Teams Actions
- Account Codes Actions
- External Teams Actions
- Custom Fields Actions
- Get Custom Fields
- Create A New Custom Field
- Get Custom Field
- Update Custom Field
- Delete A Custom Field And All Its Values
- Get Custom Field Values
- Create A Custom Field Value
- Delete Custom Field Values
- Get A Custom Field Value
- Update A Custom Field Value
- Delete A Custom Field Value
- Get Managers For A Specific Custom Field Value
- Adds Managers For A Specific Custom Field Value
- Replaces Managers For A Specific Custom Field Value
- Removes Managers For A Specific Custom Field Value
- Webhook Subscriptions Actions
- Group Teams Actions
Overview
This node operation deletes a specific item from a purchase order within an account. It is useful in scenarios where you need to remove an erroneous or no longer needed item from an existing purchase order, such as correcting orders before processing or updating inventory records.
Practical examples include:
- Removing a mistakenly added product line from a purchase order.
- Deleting discontinued items from pending purchase orders.
- Cleaning up purchase orders before final approval or submission.
Properties
| Name | Meaning |
|---|---|
| Account Id | Identifier of the account that owns the purchase order. |
| Purchase Order Id | Identifier of the purchase order from which an item will be deleted. |
| Purchase Order Item Id | Identifier of the specific purchase order item to delete from the purchase order. |
Output
The output JSON typically contains the response from the API confirming the deletion of the purchase order item. This may include status information or details about the updated purchase order after the item removal.
If the node supports binary data output (not evident here), it would represent any file or media related to the operation, but this operation primarily deals with JSON data.
Dependencies
- Requires an API key credential for authenticating requests to the external service managing purchase orders.
- The node depends on a REST API endpoint configured via base URL and headers set in credentials.
- Uses an OpenAPI-based client internally to interact with the purchase order service.
Troubleshooting
Common issues:
- Invalid or missing identifiers (Account Id, Purchase Order Id, Purchase Order Item Id) will cause the deletion to fail.
- Authentication errors if the API key or credentials are not properly configured.
- Network or connectivity issues preventing access to the purchase order service.
Error messages:
- "Not Found" or similar indicates the specified purchase order or item does not exist.
- "Unauthorized" or "Forbidden" suggests invalid or insufficient permissions with the provided API key.
- "Bad Request" may indicate malformed input parameters.
Resolutions:
- Verify all IDs are correct and correspond to existing resources.
- Ensure API credentials are valid and have necessary permissions.
- Check network connectivity and API endpoint availability.
Links and References
- Refer to the external purchase order service API documentation for detailed information on endpoints and request/response formats.
- n8n documentation on creating and configuring API credential nodes.
- General REST API troubleshooting guides.