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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "update_order"
}
}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 |