Create or update supplier
loyverse_upsert_supplierCreate a new supplier or update an existing one by providing its ID. Manage contact details, address, and notes for accurate records.
Instructions
Create a supplier, or update one by passing its id.
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": {
"name": "<name>"
},
"name": "loyverse_upsert_supplier"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Omit to create. | |
| city | No | ||
| name | Yes | ||
| note | No | ||
| No | |||
| region | No | ||
| contact | No | ||
| website | No | ||
| address_1 | No | ||
| address_2 | No | ||
| postal_code | No | ||
| country_code | No | Two-letter ISO country code. | |
| phone_number | No |