Attach a waybill number to an order
set_order_waybillWrites a waybill (tracking) number into a store order so the buyer can track the parcel (Prom.ua delivery declaration, Rozetka TTN, KeyCRM tracking code, Horoshop external tracking code).
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>",
"ttn": "<ttn>"
},
"name": "set_order_waybill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttn | Yes | Waybill / tracking number (Nova Poshta: 14 digits) | |
| order_ref | Yes | Order reference, e.g. prom:312874561 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttn | Yes | ||
| demo | No | ||
| note | No | ||
| store | Yes | ||
| order_ref | Yes |