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 updates an existing supplier in an external system by specifying the account and supplier identifiers. It is useful when you need to modify supplier details programmatically within an automation workflow, such as updating contact information, status, or other supplier-related data.
Practical examples include:
- Automatically updating supplier records after receiving new information from a CRM.
- Synchronizing supplier data between different platforms.
- Triggering supplier updates based on changes in inventory or purchase orders.
Properties
| Name | Meaning |
|---|---|
| Account Id | Identifier of the account |
| Supplier Id | Identifier of the supplier |
Output
The node outputs JSON data representing the updated supplier information returned from the external API after the update operation. This typically includes the supplier's current state with all relevant fields reflecting the changes made.
If the node supports binary data output (not evident from the provided code), it would represent any file or media related to the supplier update, but no such indication is present here.
Dependencies
- Requires an API key credential for authenticating requests to the external service.
- The node depends on an OpenAPI specification (
payhawk.api.json) to define its operations and properties. - The base URL for API requests is configured via credentials.
- Uses the
@devlikeapro/n8n-openapi-nodepackage for handling OpenAPI-based operations.
Troubleshooting
- Missing Required Properties: Ensure both "Account Id" and "Supplier Id" are provided; otherwise, the node will fail to identify which supplier to update.
- Authentication Errors: Verify that the API key or authentication token is correctly set up in the node credentials.
- API Endpoint Issues: Confirm that the base URL and endpoint paths are correct and accessible.
- Invalid Supplier or Account IDs: If the IDs do not exist or are incorrect, the API may return errors indicating the resource was not found.
Links and References
- OpenAPI Specification
- Documentation for the external API (not provided here, but typically available from the service provider)