Zalo OA icon

Zalo OA

Zalo Official Account API

Zalo OA → Update Order

AI-generated

Summary

Update the status of an existing order in the Zalo OA system by providing the order ID, new status, and optionally a reason for the status change.

Inputs

  • Order ID (required) — The unique identifier of the order to update.
  • Order Status (required) — The new status to assign to the order. Options include Pending, Confirmed, Shipping, Delivered, and Canceled.
  • Reason — An optional reason explaining why the order status is being updated.

Output shape

a single record containing the updated order information or a confirmation of the update operation

The output reflects the result of the update operation; exact returned fields depend on the Zalo OA API's response.

Examples

Example 1: Update an order's status to 'Shipping' with a reason

Set Order ID to the target order's ID, Order Status to 'Shipping', and specify a reason such as 'Dispatched via carrier'.

Links

Discussion