Create order (quick order)
create_orderCreate client orders through the admin quick-order flow, automatically converting to an invoice. Specify products with billing cycles and optional selling price overrides to produce real billing documents.
Instructions
Create an order for a client via the admin quick-order flow. By default converts straight to an invoice (convert=true). Each product needs product_id and billing_cycle_months; selling_price overrides list pricing. PRODUCTION: creates real billing documents.
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": {
"client_id": "<client_id>",
"products": "<products>"
},
"name": "create_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extra | No | Additional raw fields (address_id, due_date, pricelist_id, …) | |
| notes | No | Order notes | |
| convert | No | Convert to invoice immediately (default true) | |
| products | Yes | ||
| client_id | Yes | Client UUID | |
| apply_credit | No | Apply client wallet credit (default false) | |
| currency_code | No | e.g. "USD" (defaults to account currency) | |
| promotion_code | No | Promo code to apply |