create_customer_order
Create a customer order in MoySklad using organization, buyer, and line item details with prices in rubles.
Instructions
Create a customer order. Prices in RUBLES (converted to kopecks).
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": {
"organization_href": "<organization_href>",
"agent_href": "<agent_href>",
"positions": "<positions>"
},
"name": "create_customer_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| positions | Yes | Order line items | |
| agent_href | Yes | Meta href of the counterparty (buyer). Get from get_counterparties | |
| description | No | Order description/comment | |
| organization_href | Yes | Meta href of the organization (seller). Get from list_organizations |