update_order
Modify order details and status in WooCommerce: change from pending to processing to completed, update billing/shipping, or add customer notes.
Instructions
Update an order. Commonly used to change status (e.g. pending -> processing -> completed). See get_order_totals for valid statuses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Order ID | |
| fields | No | Comma-separated fields to return in response | |
| status | No | New order status | |
| billing | No | Billing address | |
| shipping | No | Shipping address | |
| customer_note | No | Note for customer |