wc_update_order tool reference for StifLi Flex MCP
Writeupdates an order by ID.
Description
updates an order by ID.
What it is for
- Changing status, billing or shipping data, or line items.
Example use case
correcting shipping details.
Sample prompt
Update order ID 5501 with the corrected shipping address and keep the order in processing status.
Sample response
{
"tool": "wc_update_order",
"status": "ok",
"updated": true
}
What does wc_update_order do?
updates an order by ID.
Does wc_update_order modify store data?
Yes. It is a write operation and can create, update, or delete data depending on arguments.
Which capability is commonly required?
It usually runs under controls compatible with edit_shop_orders and the active MCP profile.
How should wc_update_order be used safely?
Enable write confirmations, test in staging first, and keep changelog/rollback enabled.
