create_order
Creates a CDEK delivery order from tariff, recipient, destination, package, and service data so shipments can be registered via the CDEK API.
Instructions
Создать заказ на доставку в СДЭК
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": {
"tariff_code": "<tariff_code>",
"recipient": "<recipient>",
"to_location": "<to_location>",
"packages": "<packages>"
},
"name": "create_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | No | Номер заказа в вашей системе | |
| comment | No | Комментарий к заказу | |
| packages | Yes | Упаковки | |
| services | No | Дополнительные услуги | |
| recipient | Yes | Данные получателя | |
| tariff_code | Yes | Код тарифа СДЭК | |
| to_location | Yes | Адрес доставки | |
| from_location | No | Адрес отправления (если отличается от данных договора) | |
| delivery_point | No | Код ПВЗ доставки | |
| shipment_point | No | Код ПВЗ отправления |