Global API
Requests
Common Data Types
10min
there are some data types that are common across multiple object requests we decided to compile those here instead of listing them as part of each request addressbooks field name data type description addressbook common data types docid\ lgkoy7mdxhvjzkl2nr9ql \[] replaceall boolean replaces all addresses when set to true while updating records addressbookdetail field name data type description addressbookaddress common data types docid\ lgkoy7mdxhvjzkl2nr9ql address info defaultbilling boolean sets the address as a default billing one defaultshipping boolean sets the address as a default shipping one internalid string isresidential boolean label string addressdetail field name data type description addr1 string address line 1 addr2 string address line 2 addr3 string address line 3 addrphone string phone number addressee string attention string city string country string the country is a picklist field in netsuite so, please pass the accepted values https //www netsuite com/help/helpcenter/en us/srbrowser/browser2021 1/schema/enum/country html?mode=package in the specified format only internalid string internal id of existing address state string state/province zip string currencylistdetail field name data type description currencyrecord common data types docid\ lgkoy7mdxhvjzkl2nr9ql \[] list of currencies currencydetail field name data type description currencyrecord common data types docid\ lgkoy7mdxhvjzkl2nr9ql currency info customfields field name data type description customfield common data types docid\ lgkoy7mdxhvjzkl2nr9ql \[] list of customfield info customfieldinfo field name data type description fieldtype string specifies the data type of a custom field please refer to common data types docid\ lgkoy7mdxhvjzkl2nr9ql for the different netsuite data types and their fieldtype value internalid string internalid of the custom field scriptid string script id of the custom field value string required and returned for all the custom fields other than “select” (fieldtype) valuelookup common data types docid\ lgkoy7mdxhvjzkl2nr9ql required and returned for the fieldtype “select” applylist field name data type description apply common data types docid\ lgkoy7mdxhvjzkl2nr9ql apply list replaceall boolean the default value for the replaceall attribute is true if true, netsuite will replace all the line items with the new ones apply field name data type description amount double specify the amount that should be applied apply boolean specify true to apply the amount else specify false applydate long apply date currencyvalue string currency value doc string specify the id of the transaction to which customer payment has to be applied line string line no of the apply list total double total amount applied lookuprecord field name data type description externalid string read only, returns the external id of the record selected internalid string internal id of the record or list name string read only, returns the name of the record selected type string read only