GET Vendors.
Retrieve a paginated list of vendors ordered by vendor code. All-access keys only, like the customer list.
query Parameters
takeMaximum number of vendors to return (default 20, max 100).
cursorOptional pagination cursor from a previous response.
Headers
x-api-keyThe x-api-key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
GET Vendors. › Responses
Returns the list of vendors.
Gets the array of results.
hasMoreGets a value indicating whether there are more results available.
cursorOpaque pagination cursor from the previous page. Omit on the first request.
totalGets or sets the total number of results available. Only included on the first page (when no cursor is provided).
GET Vendor by id.
Looks up a vendor by its vendor code. An own-access key sees only the vendors it has a bill with
(like customers it has an order with); any other vendor is 404.
path Parameters
idThe vendor code.
Headers
x-api-keyThe x-api-key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
GET Vendor by id. › Responses
Returns the vendor.
codeUnique vendor code.
nameVendor name.
addressLine1First line of the vendor's address.
addressLine2Second line of the vendor's address.
cityCity.
stateState / province.
zipPostal / ZIP code.
phonePrimary phone number (digits only when it is a valid 10-digit number).
extensionPhone extension.
faxFax number (digits only when it is a valid 10-digit number).
contactContact person.
A vendor's payment terms: when a bill is due and the early-payment discount, as set up in the back office.
categoryVendor category.
notesFree-form notes.
lastModifiedLast-modified timestamp. Null when never stamped.
GET Vendor products.
Retrieve a paginated list of the products a vendor sells: its item numbers, pack sizes and prices,
ordered by vendor item number. Products the vendor no longer sells are included (active is false).
An own-access key sees only the vendors it has a bill with; any other vendor is 404.
path Parameters
idThe vendor code.
query Parameters
takeMaximum number of products to return (default 20, max 100).
cursorOptional pagination cursor from a previous response.
Headers
x-api-keyThe x-api-key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
GET Vendor products. › Responses
Returns the vendor's products.
Gets the array of results.
hasMoreGets a value indicating whether there are more results available.
cursorOpaque pagination cursor from the previous page. Omit on the first request.
totalGets or sets the total number of results available. Only included on the first page (when no cursor is provided).