KiotViet icon

KiotViet

Interact with KiotViet

Order → Update Order

AI-generated

Overview

This node updates an existing order in the KiotViet system. It is useful for scenarios where you need to modify order details such as customer information, order items, or status after the order has been created. For example, you might update an order to correct a shipping address or add additional items.

Use Case Examples

  1. Updating an order with new shipping details.
  2. Modifying the quantity of items in an existing order.

Properties

Name Meaning
Order ID The unique identifier of the order to update.
Order Data The JSON object containing the updated order details.

Output

JSON

  • json - The response from the KiotViet API after updating the order, typically containing the updated order information.

Dependencies

  • Requires an API key credential for KiotViet to authenticate requests.

Troubleshooting

  • If the node throws an error 'Get access_token failed', it means the authentication token could not be retrieved. Check your API credentials and connection.
  • Errors indicating 'Unknown operation' or 'Unknown resource' suggest a misconfiguration of the resource or operation parameters.
  • Ensure the Order ID is correct and the Order Data JSON is properly formatted to avoid API errors.

Links

  • KiotViet API Documentation - Official API documentation for KiotViet, useful for understanding the data structure and available endpoints.

Discussion