Update Vendor
update_supplierUpdate a vendor by id. Every field is preserve-on-omit — omitting a field keeps the vendor's current value (it is NOT cleared). Changing name/code/tax/bank re-checks uniqueness. customFields merges per key (see list_custom_fields with entity=businessPartner): omitted keys keep their value, an explicit null clears one, and an unknown fieldName fails the whole call at preview. Only existing vendors are targetable (a non-vendor partner id returns NOT_FOUND). Requires an operator (unpinned) org token.
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": {
"supplierId": "<supplierId>",
"input": "<input>"
},
"name": "update_supplier"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Fields to change; omitted fields keep their current value. | |
| preview | No | Step 1 of the required two-step write: set true to validate and receive a structured preview plus a single-use previewReceipt. Nothing is changed until the commit call. | |
| supplierId | Yes | The vendor id (GUID) to update. | |
| idempotencyKey | No | Caller-generated idempotency key; required with previewReceipt to commit. | |
| previewReceipt | No | Step 2 of the required two-step write: the receipt returned by the preview call. Supply together with a fresh idempotencyKey to commit; calls without it are refused. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| code | No | ||
| name | No | ||
| No | |||
| preview | No | ||
| expiresAt | No | ||
| taxNumber | No | ||
| isCustomer | No | ||
| isSupplier | No | ||
| contactName | No | ||
| phoneNumber | No | ||
| vatIdNumber | No | ||
| actionItemId | No | ||
| confirmation | No | ||
| customFields | No | ||
| correlationId | No | ||
| approvalResult | No | ||
| idempotencyKey | No | ||
| previewReceipt | No | ||
| idempotentReplay | No | ||
| paymentTermsDays | No | ||
| bankAccountNumber | No | ||
| defaultLeadTimeDays | No |