Update an existing vendor.
Param name | Description |
---|---|
id
required |
Vendor ID Validations:
|
vendor
required |
Vendor parameters. Validations:
|
vendor[name]
required |
Vendor name. Must be unique within a company. Validations:
|
vendor[notes]
optional |
Additional notes to be displayed on UI alongside vendor name. Validations:
|
vendor[vat_id]
optional |
VAT ID. Validations:
|
vendor[business_id]
optional |
Business ID. Validations:
|
vendor[business_type]
optional |
Vendor business type (LLC or private entrepreneur). Default: Validations:
|
vendor[contact_person]
optional |
Vendor Contact person. Validations:
|
vendor[email]
optional |
Vendor Email. Validations:
|
vendor[phone_number]
optional |
Vendor Phone. Validations:
|
vendor[url]
optional |
Vendor URL. Validations:
|
vendor[iban]
optional |
Default Bank account IBAN. Validations:
|
vendor[bic]
optional |
Default Bank account BIC. If not provided, Bezala will try to auto-calculate it based on IBAN. Validations:
|
vendor[external_id]
optional |
Vendor External ID. Validations:
|
vendor[address_attributes]
optional |
Vendor address. Validations:
|
vendor[address_attributes][street]
optional |
Street address. Validations:
|
vendor[address_attributes][city]
optional |
City of the address, or Post Office. Validations:
|
vendor[address_attributes][postal_code]
optional |
Postal Code of the address. Validations:
|
vendor[address_attributes][country_id]
optional |
Country id of an address. Validations:
|
vendor[address_attributes][latitude]
optional |
Geographic Latitude from Google Maps. Validations:
|
vendor[address_attributes][longitude]
optional |
Geographic Longitude from Google Maps. Validations:
|