commerce.order_update_status
Updates ONLY the fulfillment lifecycle status of an e-commerce or store order (e.g. pending, confirmed, preparing, ready_for_pickup, out_for_delivery, shipped, delivered, completed, cancelled). Never modifies paymentStatus. Automatically generates a digital sale invoice when confirming, idempotently restocks inventory upon cancellation, and sends a notification email to the customer.
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": {
"orderId": "<orderId>",
"status": "<status>"
},
"name": "commerce.order_update_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | New order fulfillment lifecycle status | |
| orderId | Yes | Order ID (e.g. 'ORD-123456-789') or MongoDB 24-character _id | |
| estimatedTime | No | Optional estimated delivery or pickup time | |
| sendCustomerEmail | No | Whether to send an email notification to the customer with digital invoice receipt (default: true) |