royal-mcp__wc_update_order
Update an existing WooCommerce order. All fields except order_id are optional. line_items with an id update or remove (quantity 0) existing items; line_items without an id add new items. Recalculates totals after mutation. (site: demo.royalplugins.com) Through Royally: waits for a person to approve it in Royally; nothing on the site changes until then.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | New order status. | |
| billing | No | Partial billing address — only provided keys are updated. | |
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| order_id | Yes | Order ID to update. | |
| shipping | No | Partial shipping address — only provided keys are updated. | |
| meta_data | No | Array of {key, value} to add/replace on the order meta. | |
| line_items | No | Array of {product_id, quantity, variation_id?, id?}. id present + quantity 0 = remove; id present + quantity > 0 = update; no id = add. | |
| customer_note | No | Replace customer-facing order note. |