Create or update a supplier
loyverse_upsert_supplierCreate a supplier, or update one by passing its id. Loyverse does not document whether omitted fields survive an update, so on update send the full record. Loyverse: POST /suppliers/.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Existing supplier id to update. Omit to create. | |
| city | No | City, town or village. | |
| name | Yes | The supplier company name (required). | |
| note | No | A note about the supplier. | |
| No | Email address. | ||
| region | No | Province, state or prefecture. | |
| contact | No | Contact person's name. | |
| website | No | Website URL. | |
| address_1 | No | Address line 1. | |
| address_2 | No | Address line 2. | |
| postal_code | No | Postal / ZIP code. | |
| country_code | No | Two-letter ISO 3166-1 alpha-2 country code, e.g. US. | |
| phone_number | No | Phone number. |