Yourang icon

Yourang

Interact with yourang.ai - 24/7 AI phone assistant for calls, contacts, and events

Order → Update

AI-generated

Overview

This node updates an existing customer order in the Yourang system. It is useful for scenarios where you need to modify order details such as adding notes, changing the order status, or providing a reason for refusing an order. For example, a customer service workflow could use this node to update the status of an order to 'completed' or 'refused' with an appropriate reason.

Use Case Examples

  1. Updating the status of an order to 'completed' after shipment.
  2. Adding notes to an order to provide additional information for internal tracking.
  3. Refusing an order and specifying the reason for refusal.

Properties

Name Meaning
Order ID The unique identifier of the order to update.
Update Fields A collection of fields to update on the order, including notes, status, and status reason.

Output

JSON

  • id - The unique identifier of the updated order.
  • status - The updated status of the order.
  • notes - Any notes attached to the order.
  • status_reason - The reason for refusing the order, if applicable.

Dependencies

  • Requires an API key credential for Yourang API authentication.

Troubleshooting

  • Common issues include providing an invalid or missing Order ID, which will cause the update to fail.
  • If the status is set to 'refused' but no status reason is provided, the node may throw an error due to missing required information.
  • Network or authentication errors may occur if the API key credential is invalid or expired.

Discussion