Lấy Theo Mã
AI-generatedOverview
This node interacts with the KiotViet order management system to retrieve order details based on a specific order code. It is useful for scenarios where you need to fetch detailed information about a particular order using its unique code, such as verifying order status, checking order contents, or integrating order data into other workflows.
Use Case Examples
- Retrieve order details by providing the order code to verify the order status before processing shipment.
- Fetch order information to display in a customer service dashboard when a customer provides their order code.
Properties
| Name | Meaning |
|---|---|
| Mã ĐơN Hàng | The unique code of the order to retrieve. |
Output
JSON
orderId- The unique identifier of the order.orderCode- The code of the order.orderDetails- Details of the products included in the order.customerId- Identifier of the customer who placed the order.status- Current status of the order.totalPrice- Total price of the order.
Dependencies
- KiotViet API with API key credential
Troubleshooting
- If the order code is incorrect or does not exist, the node will throw an error indicating the order was not found. Verify the order code before retrying.
- Ensure the KiotViet API credentials are correctly configured to avoid authentication errors.
- If the API does not support the requested operation, the node will throw an unsupported operation error.