Price several things as one order
quote_orderPrices a list of things as one order: each item at its own quantity, ONE order minimum for the lot, and ONE parcel to one ZIP. Send up to 20 items; each is a file you already quoted (by file_id), a template part or a personalized product, with its own material and quantity. The answer says what the whole order costs and what it saves against ordering each item alone. Nothing is stored. To change the order, change the list and call again; when the person is happy, send the same items to create_order.
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": {
"items": "<items>"
},
"name": "quote_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Several things as ONE order: one payment link, one order minimum, one parcel. Up to 20. Each item takes the same fields as an order of one thing (kind, material, qty, template, values, product, text ...), with its own quantity. A laser-file item names its file by file_id: quote the file first with quote_laser_file, which answers with the id. The same file_id may appear in several items, e.g. the same part in two materials. | |
| ship_zip | No | The 5-digit US ZIP it would ship to. Given, the answer adds what shipping costs and the total before sales tax, so the person sees the whole price before an order is made. |