Change order status
update_order_statusChanges the status of a store order. Accepts a unified status or a store-specific status id; Rozetka transitions are checked against the statuses allowed for the order.
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_ref": "<order_ref>",
"status": "<status>"
},
"name": "update_order_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Prom.ua cancellation reason: not_available, price_changed, buyers_request, not_enough_fields, duplicate, invalid_phone_number, less_than_minimal_price, another | |
| status | Yes | Unified status (new, processing, shipped, delivered, completed, canceled, returned) or the store's own status id from get_order | |
| comment | No | Comment (Prom 'another' reason text, manager comment) | |
| order_ref | Yes | Order reference, e.g. rozetka:745123456 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| demo | No | ||
| note | No | ||
| status | Yes | ||
| order_ref | Yes | ||
| status_name | Yes |