Update vendor
Updates an existing vendor, replacing every field. Deprecated, use PATCH to update only the fields you send.
Request
- Base URLhttps://light.inc (the document declares no server; this is the origin it was published from)
- Auth
- API key in header Authorization
- or HTTP bearer
Path parameters
Request body
Vendor name.
IDs of the company entities this vendor is associated with.
Vendor VAT ID.
Vendor business registration number.
Vendor identifier (external/system identifier).
Vendor description or memo.
Vendor avatar/logo URL.
Vendor email address.
Vendor website.
Vendor country. Note: currently, updating country does not sync with the vendor in the ERP.
⚠️ This enum is not exhaustive; new values may be added in the future.
Vendor city.
Vendor street address.
Vendor ZIP/postal code.
Vendor bank name.
Vendor bank country.
⚠️ This enum is not exhaustive; new values may be added in the future.
Vendor bank city.
Vendor bank address.
Vendor bank ZIP/postal code.
Vendor bank account number (IBAN or local format).
Vendor bank BIC/SWIFT code.
Vendor domestic bank account number (country-specific format).
Vendor domestic bank account code (e.g. routing/sort code).
Vendor Swedish Bankgiro number, if applicable.
Vendor Swedish Plusgiro number, if applicable.
Name of the bank account holder. When set, this overrides the vendor name on the payment recipient for providers that consult it (currently Airwallex).
Whether the vendor's invoices are expected to carry a withholding tax. The withholding tax code itself is the vendor's default tax code on the company entity. Omitting it or sending null keeps the vendor's current value.
Response
default response
Type of the vendor.
⚠️ This enum is not exhaustive; new values may be added in the future.
External ID of the vendor.
ID of the company this vendor belongs to.
IDs of the company entities this vendor is associated with.
Vendor VAT ID.
Vendor business registration number.
Vendor identifier (external/system identifier).
Vendor name.
Vendor description or memo.
Vendor avatar/logo URL.
Vendor email address.
Vendor website.
Vendor country.
⚠️ This enum is not exhaustive; new values may be added in the future.
Vendor city.
Vendor street address.
Vendor ZIP/postal code.
Vendor bank name.
Vendor bank country.
⚠️ This enum is not exhaustive; new values may be added in the future.
Vendor bank city.
Vendor bank address.
Vendor bank ZIP/postal code.
Vendor bank account number (IBAN or local format).
Vendor bank BIC/SWIFT code.
Vendor domestic bank account number (country-specific format).
Vendor domestic bank account code (e.g. routing/sort code).
Vendor Swedish Bankgiro number, if applicable.
Vendor Swedish Plusgiro number, if applicable.
Name of the bank account holder. When set, this overrides the vendor name on the payment recipient for providers that consult it (currently Airwallex).
Whether the vendor's invoices are expected to carry a withholding tax. The withholding tax code itself is the vendor's default tax code on the company entity.
Timestamp when the vendor was created.
Vendor contract value in cents.
ID of the user who created the vendor.
Vendor onboarding/status.
⚠️ This enum is not exhaustive; new values may be added in the future.
Vendor record version.
Timestamp when the vendor was last updated.
ID of the company entity this business partner represents. Set when Light creates the partner for intercompany invoicing, or when a user links an existing one; null for ordinary vendors.
Last month-to-date spend in group currency.
Example response
{
"currency": "USD",
"groupCurrency": "USD"
}Changes
No recorded changes to this operation across all 1 revision of this API.