KiotViet icon

KiotViet

Interact with KiotViet

Order → Get a Order

AI-generated

Overview

This node interacts with the KiotViet API to retrieve detailed information about a specific order using its order code. It is useful in scenarios where you need to fetch order details for processing, reporting, or integration with other systems. For example, you can use it to get the status, items, and customer information of a particular order by providing the order code.

Use Case Examples

  1. Retrieve order details by specifying the order code to automate order processing workflows.
  2. Fetch order information to update inventory or notify customers about their order status.

Properties

Name Meaning
Order Code The unique code identifying the order to retrieve. This is a required string input.

Output

JSON

  • json - The JSON response containing the detailed information of the requested order from the KiotViet API.

Dependencies

  • Requires an API key credential for KiotViet API authentication to obtain an access token.

Troubleshooting

  • If the node throws an error 'Get access_token failed', it means the authentication with KiotViet API failed. Check the API credentials and ensure they are correctly configured.
  • If the node throws 'Unknown operation: getOrder', verify that the operation parameter is correctly set to 'getOrder'.
  • If the node throws 'Unknown resource: order', verify that the resource parameter is set to 'order'.
  • Ensure the provided order code is valid and exists in the KiotViet system to avoid errors or empty responses.

Discussion