Update supplier
crunch_update_supplierUpdate supplier details or archive/restore a supplier by passing only the fields to change.
Instructions
Change a supplier's details, or archive/restore it. Only the fields you pass change.
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_id": "<supplier_id>"
},
"name": "crunch_update_supplier"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extra | No | Additional raw fields for the request body, using Crunch's own field names (advanced). Merged last. | |
| country | No | Country code, for example GB (see crunch_list_countries) | |
| dry_run | No | Preview: return the request that would be sent (for an update, the fields that would change) without sending it | |
| archived | No | Archive (true) or restore (false) the supplier | |
| supplier_id | Yes | Supplier ID (see crunch_list_suppliers) | |
| company_name | No | New name | |
| contact_name | No | Contact at the supplier | |
| expense_type | No | Default expense type for this supplier's expenses, for example TELEPHONE (see crunch_list_expense_types) | |
| vat_registration_number | No | The supplier's VAT number |