Update a supplier order's head
dolibarr_supplier_order_updateUpdate header fields on an existing supplier order—such as notes, supplier reference, delivery date, or custom fields—without changing order lines. Provide only the fields to modify.
Instructions
Changes head fields of a supplier order (not its lines). Only the fields given are changed.
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": {
"supplier_order_id": "<supplier_order_id>"
},
"name": "dolibarr_supplier_order_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note_public | No | Note visible to the third party (printed on documents). | |
| note_private | No | Internal note. | |
| ref_supplier | No | ||
| custom_fields | No | Custom fields by code, e.g. {"region": "north"}. Get codes and allowed values from dolibarr_custom_field_list. | |
| delivery_date | No | Date as YYYY-MM-DD. | |
| supplier_order_id | Yes |