FormNord: flere deler i samme bestilling
create_cartCombine up to 10 quotes (quote_ids from get_print_quote) into one order: one start fee, one shipping package and the minimum price applied to the whole order. Use it when a model comes in several files (e.g. a zip with several parts). Returns cart_id, the combined price (pris.totalt, with pris.spart saved compared with ordering each part alone) and bestill_url. Order with create_order using cart_id, or give the user bestill_url. A new call with other quote_ids makes a new cart.
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": {
"quote_ids": "<quote_ids>"
},
"name": "create_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote_ids | Yes | tilbud_id from get_print_quote, one per part. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| kode | No | Machine-readable error code when ok is false. | |
| pris | No | ||
| deler | No | ||
| grunn | No | Human-readable reason (Norwegian) when ok is false. | |
| venter | No | true while slicing still confirms the price of a part. | |
| kurv_id | No | cart_id for create_order. | |
| bestill_url | No |