Actions2
Lấy Theo ID
AI-generatedOverview
This node interacts with the KiotViet API to manage supplier data. Specifically, for the 'Lấy Theo ID' (Get By ID) operation, it retrieves detailed information about a single supplier using the supplier's unique ID. This is useful in scenarios where you need to fetch specific supplier details for inventory management, order processing, or supplier verification within the KiotViet ecosystem.
Use Case Examples
- Fetch supplier details by providing the supplier ID to integrate supplier information into an order management workflow.
- Retrieve supplier data to display or update supplier profiles in a custom dashboard.
Properties
| Name | Meaning |
|---|---|
| ID Nhà Cung Cấp | The unique identifier of the supplier to retrieve. |
Output
JSON
id- The unique identifier of the supplier.name- The name of the supplier.address- The address of the supplier.phone- The phone number of the supplier.email- The email address of the supplier.status- The current status of the supplier (e.g., Active, Inactive).
Dependencies
- KiotViet API with an API key credential
Troubleshooting
- Ensure the supplier ID provided is valid and exists in the KiotViet system to avoid 'not found' errors.
- Check API credentials and network connectivity if the node fails to connect to the KiotViet API.
- If the node throws an error, verify that the 'supplierId' parameter is correctly set and is a number.
Links
- KiotViet API Documentation - Official API documentation for KiotViet, useful for understanding available endpoints and data structures.