Customer
A customer record exposes a customer to REST web services.
This record:
-
is not a subrecord
-
has the following subrecords:
-
addressbook
-
campaigns
-
contactroles
-
currencylist
-
grouppricing
-
itempricing
-
partners
-
salesteam
-
subscriptionmessagehistory
-
subscriptions
-
taxregistration
-
REST web services do not support legacy tax features. To work with taxation through REST web services, you must have the SuiteTax feature enabled. For more information about using SuiteTax, see SuiteTax.
The REST API Browser includes information about the field names and field types of the customer record, and about the HTTP methods, request parameters, and operations available to this record.
For details, see the REST API Browser’s customer reference page.
For information about using the REST API Browser, see The REST API Browser.
Record ID
The record ID for the customer REST record is customer.
Inaccessible Elements
The following sublists are not accessible through REST web services:
-
bulkmerge
-
creditcards
-
download
-
eftacct
-
itemorders
-
paymentinstruments
-
referrerlist
-
submachine
-
upsell
Elements With Limited Functionality
The create operation is not supported for the campaigns and contactroles elements.
Code Sample
The following code sample shows how to create a customer record:
POST https://123456.suitetalk.api.netsuite.com/services/rest/record/v1/customer
{ "companyName": "Company 1615554322", "email": "customer@example.com"
}