update_wholesale_cart
Assign a basket to a project or change its status/note: project_ref, status (neu, zugeordnet, bestellt, erledigt, verworfen), note. Optional positions replaces the item list (e.g. after correcting quantities) and recalculates the total.
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": {
"cart_id": "<cart_id>"
},
"name": "update_wholesale_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Notiz | |
| status | No | neu, zugeordnet, bestellt, erledigt oder verworfen | |
| cart_id | Yes | ID des Warenkorbs | |
| positions | No | Neue Positionsliste [{ artikelnr, menge, einheit, bezeichnung, preis_netto, preiseinheit }] | |
| project_ref | No | Projektbezug |