Link

Customer

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

The Customer 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 
categoryLookupRecordInternal ID of the Category.
companyNameStringThe Name of the Customer. Required when isPerson is set to FALSE.
creditHoldOverrideString 
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 
endDateLongDate is accepted and returned as a Unix timestamp in seconds.
entityIdStringRead-Only field and is auto-populated from the Company Name or the First Name.
entityStatusLookupRecordInternal ID of the Entity (customer) Status.
externalIdString 
faxString 
firstName*StringRequired when isPerson is set to TRUE
internalIdString 
isInactiveBoolean 
isPersonBoolean 
lastModifiedDateLongRead-Only field and the Date is returned as a Unix timestamp in seconds.
lastName*StringRequired when isPerson is set to TRUE
middleNameStringGiven when isPerson is set to TRUE
parentLookupRecordInternal ID of the Parent Company.
phoneString 
priceLevelLookupRecordInternal ID of the Price Level.
receivablesAccountLookupRecordInternal ID of the Receivables Account.
reminderDaysDouble 
resaleNumberString 
salesRepLookupRecordInternal ID of the Employee.
salutationString 
stageStringRead-Only field and entityStatus determines its value.
startDateLongDate is accepted and returned as a Unix timestamp in seconds.
subsidiary*LookupRecordInternal ID of Subsidiary.
taxItemLookupRecordInternal ID of Tax Item.
termsLookupRecordInternal ID of Terms.
territoryLookupRecordInternal ID of Territory.
titleStringGiven when isPerson is set to TRUE
urlStringGiven when isPerson is set to FALSE
vatRegNumberString 

AddressBooks

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

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
currencyRecordCurrencyDetail[]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