Vendors
GET /accounting/vendors
Group: Accounting › Vendors · Operation ID: vendors
Returns a list of vendors. To match by name or contact email, use POST accounting/vendors/search.
Open in the interactive reference
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Api-Version |
header | "v1" |
yes | The API version this request targets, named by its public identifier. Required on every request; omitting it, or naming a version this company does not have, is answered with 400. This document describes version v1. |
Query surface
id— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likevendorNumber— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likevendorType— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likevendorSubType— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likestatus— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likepaymentTerms— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likepreferredCurrency— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likeindependentContractor— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likeexternalVendorId— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likeorigin— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, likelastModifiedDate— filter by eq, ne, gt, gte, lt, lte, in, notIn, between, like- Orderable: id, vendorNumber, vendorType, vendorSubType, status, paymentTerms, preferredCurrency, lastModifiedDate
- Selectable: id, vendorName, vendorNumber, vendorType, vendorSubType, status, paymentTerms, preferredCurrency, independentContractor, externalVendorId, origin, mainContactEmail, mainContactName, lastModifiedDate
Response
200 Success
Under data, an array of vendorsRow:
| Field | Type | Required | Description |
|---|---|---|---|
id |
string | no | The unique identifier for the vendor. |
vendorName |
string or null | no | The legal or trading name of the vendor. |
vendorNumber |
string or null | no | The vendor number, for example 'V-2041'. Absent until one has been assigned. |
vendorType |
string or null | no | The kind of vendor. Possible values: 'supplier', 'contractor', 'tax', 'benefits', 'payrollProvider', 'healthInsurance'. |
vendorSubType |
string or null | no | A finer classification within the vendor type. Possible values: 'direct', 'indirect'. |
status |
string or null | no | The lifecycle status of the vendor. Possible values: 'active', 'inactive'. An inactive vendor stays readable so historical documents still resolve, and is not offered for new ones. |
paymentTerms |
string or null | no | The default payment-terms key applied to this vendor's bills, for example 'net30' or 'dueOnReceipt'. Stored as supplied. |
preferredCurrency |
string or null | no | The currency the vendor prefers to be paid in. Format ISO 4217, for example 'USD'. |
independentContractor |
string or null | no | Whether the vendor is an independent contractor. Possible values: 'yes', 'no', 'unsure'. |
externalVendorId |
string or null | no | The identifier this vendor has in an external system. It is not unique. |
origin |
string or null | no | The source system that created the vendor, for example 'app'. |
mainContactEmail |
string or null | no | The email address of the vendor's main contact. |
mainContactName |
string or null | no | The name of the vendor's main contact. |
lastModifiedDate |
string (date-time) or null | no | The date and time the vendor last changed, in UTC. Format YYYY-MM-DDTHH:mm:ss.sssZ. |
Statuses
400— Invalid request or business failure401— Missing or invalid access token403— Not authorized404— Not found429— Too many requests500— Internal server error