update_order
Modify order details such as status, customer information, delivery, and comments. Only provided fields are sent, returning success.
Instructions
Update an order (status, customer, delivery, comments). Only the fields you pass are sent. Returns {success}.
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": {
"id": "<id>"
},
"name": "update_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Lookup field | id |
| id | Yes | Order ID to update | |
| site | No | Site (store) symbolic code. Required on create/edit when the API key is scoped to multiple sites (see list_sites). | |
| No | Updated customer email | ||
| phone | No | Updated customer phone | |
| status | No | New status code | |
| last_name | No | Updated customer last name | |
| first_name | No | Updated customer first name | |
| customer_id | No | Re-link the order to an existing customer by RetailCRM ID | |
| delivery_code | No | Updated delivery type code | |
| delivery_cost | No | Updated delivery cost | |
| manager_comment | No | Internal manager comment | |
| customer_comment | No | Customer-visible comment | |
| delivery_address | No | Updated delivery address | |
| customer_external_id | No | Re-link the order to an existing customer by externalId |