Lấy Theo ID
AI-generatedOverview
This node interacts with the KiotViet order management system to retrieve order details by a specific order ID. It is useful for scenarios where you need to fetch detailed information about a particular order, such as for order tracking, customer service, or integration with other systems.
Use Case Examples
- Retrieve order details by providing the order ID to display order status and contents in a dashboard.
- Fetch order information to verify order details before processing shipment or refund.
Properties
| Name | Meaning |
|---|---|
| ID ĐơN Hàng | The unique identifier of the order to retrieve. |
Output
JSON
id- The unique identifier of the order.orderDetails- List of products and their details within the order.status- Current status of the order.customerId- Identifier of the customer who placed the order.branchId- Identifier of the branch where the order was created.totalPrice- Total price of the order.discount- Total discount applied to the order.createdDate- Date when the order was created.
Dependencies
- KiotViet API with API key credential
Troubleshooting
- Ensure the provided order ID is valid and exists in the KiotViet system to avoid 'order not found' errors.
- Check API credentials and permissions if authentication errors occur.
- If the node throws an error about unsupported operations, verify that the KiotViet API supports the requested operation.
Links
- KiotViet API Documentation - Official API documentation for KiotViet, useful for understanding available endpoints and data structures.