Update order
update_orderUpdates order with given orderNumber.
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": {
"orderNumber": "<orderNumber>"
},
"name": "update_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | OrderReceived = Order received, OrderPaymentDue = Waiting for payment, OrderPaymentReceived = Payment received, OrderProcessing = Processing order, OrderInTransit = Order shipped, OrderDelivered = Complete, OrderCancelled = Cancelled | |
| reference | No | This is a reference for internal purposes that can be set for each order. The reference will not be shown to the customer. | |
| orderNumber | Yes | The order number or order code is the unique identifier for the order. | |
| mail_customer | No | Send an email notification to the customer. |