create_order
Create an order in Mindbox and link it to a customer via email, phone, or external ID. Include order lines, total price, and operation name.
Instructions
Создание заказа в Mindbox с привязкой к клиенту.
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_id": "<order_id>",
"lines": "<lines>",
"total_price": "<total_price>"
},
"name": "create_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | Строки заказа (товары) | |
| order_id | Yes | ID заказа во внешней системе | |
| operation | No | Системное имя операции Mindbox для создания заказа (должно совпадать с настроенным в проекте) | Website.CreateOrder |
| total_price | Yes | Общая сумма заказа | |
| customer_email | No | Email клиента | |
| customer_phone | No | Телефон клиента | |
| customer_external_id | No | Внешний ID клиента |