order_update_status
Update an order's status (e.g., sale, return, cancel) and optionally notify the customer with an internal note.
Instructions
Update the status of an existing order.
Parameters
order_id : Internal order ID. status : New status key (e.g. "sale", "return", "cancel"). Use order_status_types() to see available values. notify_customer : Send a notification e-mail to the customer (true/false). note : Optional internal note to attach to the status change.
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": {
"order_id": "<order_id>",
"status": "<status>"
},
"name": "order_update_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | ||
| status | Yes | ||
| notify_customer | No | ||
| note | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||