Link

Vendor

Vendor in the requestJSON and responseJSON are in the form of List of Vendor objects.

The Vendor object has the following parameters.

Field NameData TypeDescription 
salesforceIDIDRead-Only field, provides the Salesforce Record ID upon successful creation or updation in Salesforce. 
accountNumberString  
addressbookListAddressBooks  
bcnString  
categoryLookupRecordInternal ID of the Category. 
companyNameStringThe Name of the Vendor. Required when isPerson is set to FALSE. 
creditLimitDouble  
currencyRecordLookupRecordInternal ID of the (Primary) Currency. 
currencyListCurrencyListDetail  
customFieldListCustomFieldsCustom fields and their values. 
customFormLookupRecordInternal ID of the Custom Form. 
dateCreatedLongRead-Only field, the Date will be returned as a Unix timestamp in seconds. 
emailString  
entityIdStringThe Name of the Vendor, populated from the Company Name or the First Name. 
expenseAccountLookupRecordInternal ID of the Expense Account. 
externalIdString  
faxString  
firstName*StringRequired when isPerson is set to TRUE 
internalIdString  
homePhoneString  
incotermLookupRecord  
is1099EligibleBoolean  
isAccountantBoolean  
isInactiveBoolean  
isJobResourceVendBoolean  
isPersonBoolean  
lastModifiedDateLongRead-Only field and the Date is returned as a Unix timestamp in seconds. 
lastName*StringRequired when isPerson is set to TRUE 
legalNameString  
middleNameStringGiven when isPerson is set to TRUE 
mobilePhoneString  
payablesAccountLookupRecordInternal ID of the Payables Account. 
phoneString  
salutationString  
subsidiary*LookupRecordInternal ID of Subsidiary. 
taxIdNumString  
taxItemLookupRecordInternal ID of Tax Item. 
termsLookupRecordInternal ID of Terms. 
titleStringGiven when isPerson is set to TRUE 
urlStringGiven when isPerson is set to FALSE 

AddressBooks

Field NameData TypeDescription
addressbookAddressBookDetail[] 
replaceAllBooleanReplaces all Vendor addresses when set to TRUE while updating the Vendor

AddressBookDetail

Field NameData TypeDescription
addressbookAddressAddressDetailAddress Info
defaultBillingBooleanSets the address as a default billing one.
defaultShippingBooleanSets the address as a default shipping one.
internalIdString 
isResidentialBoolean 
labelString 

AddressDetail

Field NameData TypeDescription
addr1StringAddress Line 1
addr2StringAddress Line 2
addr3StringAddress Line 3
addrPhoneStringPhone Number
addresseeString 
attentionString.
cityString 
countryString 
internalIdStringInternal ID of existing Address
stateStringState/Province
zipString 

CurrencyListDetail

Field NameData TypeDescription
vendorCurrencyCurrencyDetail[]List of Currencies

CurrencyDetail

Field NameData TypeDescription
currencyRecordLookupRecordCurrency Info

LookupRecord

Field NameData TypeDescription
externalIdStringRead-Only, returns the external Id of the Record selected.
internalId*StringInternal Id of the Record or List.
nameStringRead-Only, returns the name of the Record selected.
typeStringRead-Only.

CustomFields

Field NameData TypeDescription
customFieldCustomFieldInfo[]List of CustomField Info

CustomFieldInfo

Field NameData TypeDescription
fieldType*StringSpecifies the Data Type of a Custom field.Possible values are: string, boolean, date, double, long, select.
internalIdStringInternalId of the Custom Field.
scriptId*StringScript ID of the Custom Field.
valueStringRequired and returned for all the custom fields other than “select” (fieldType)
valueLookupLookupRecordRequired and returned for the fieldType “select”

Table of contents