orders_create_order
Create a new customer order by providing a customer ID and a list of line items, each containing a product ID and quantity.
Instructions
Create a new customer order from a list of product line items.
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": {
"customer_id": "<customer_id>",
"items": "<items>"
},
"name": "orders_create_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Line items, each a product id and quantity. | |
| customer_id | Yes | Customer placing the order. |