Update supplier
hub_update_supplierChange one supplier’s details. Only the fields you pass change; the rest are left alone, and a blank string is ignored rather than blanking the stored value. Renaming is safe — past purchase orders store the id and look the name up. A name already used by another supplier of this company is refused. This does NOT change item costs: those live on the supplier–item link, so use link_supplier_items to re-price.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | ||
| name | No | ||
| notes | No | ||
| phone | No | ||
| state | No | ||
| country | No | ||
| address1 | No | ||
| address2 | No | ||
| postCode | No | ||
| supplierId | Yes | Supplier id from get_suppliers — not a name | |
| contactName | No | ||
| contactEmail | No |