Vendor Object
The Vendor is a primary record type in Order Time.
End Point
/vendor
GET, POST, PUT, DELETE
GET and DELETE requests expect parameter id of type Int32.
Properties
Property | Caption | Data Type | Required |
AccountNumber | Account # | String (99) | False |
CompanyName | Company | String (50) | False |
Name | Name | String (50) | True |
NameOnCheck | Name on check | String (50) | False |
Parent | Sub of | String (50) | False |
TaxID | Tax Reg. No. | String (50) | False |
TenNineNineEligible | 1099 Eligible | Boolean | False |
Note | Note | String (4000) | False |
PrimaryContact | Primary Contact | Person | False |
Id | Id | Int32 | False |
APAccountRef | A/R Account | EntityRef | False |
ClassRef | Class | EntityRef | False |
CurrencyRef | Currency | EntityRef | False |
ProxyRef | Proxy | EntityRef | False |
TermRef | Terms | EntityRef | False |
TypeRef | Type | EntityRef | False |
CreditLimit | Credit Limit | Decimal | False |
IsActive | Active | Boolean | False |
PrimaryBillAddress | Bill Address | Address | False |
CustomFields | Custom Fields | Array of CustomFieldData | False |
CreditCardNo will not be returned on any GET requests.
Json Sample
{ Id: 1947, Name: "Peter Pan LLC", IsActive: true, CompanyName: "Peter Pan LLC", PrimaryContact: { Salutation:"Mr." , FirstName: "Aaron", MiddleName:"H" , LastName: "Rogers" }, PrimaryBillAddress: { Name: "Default", Addr1: "Peter Pan LLC", Addr2: "45 Hart St", Addr3: "Suite 5", City: "NY", State: "NY", Zip: "00250", Email: "aaron@greenbay.com" } CustomFields: [ { Name: "VendorCust1", Value: Large amount of text, } ] }