Update Order Status
update_order_statusChange an OpenCart order's status and append a history entry, optionally marking the customer as notified without sending email.
Instructions
Change an order's status and append an order-history entry — the same thing the admin status dropdown does. notify=True marks the history row as customer-notified but does NOT send the email itself. Use get_order_statuses to look up status IDs.
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>",
"order_status_id": "<order_status_id>"
},
"name": "update_order_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notify | No | ||
| comment | No | ||
| order_id | Yes | ||
| order_status_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |