Customer Category
NetSuite exposes the customer category record to REST web services. Customer category defines a list of values that are used by the customer record to set the type of customer.
Record ID
The record ID for the customer category REST record is customerCategory.
Prerequisites
There are no prerequisites required for using this record through REST web services.
The customer category record is not a subrecord and is used on the customer record and other CRM records.
There are no elements on this record that are not accessible through REST web services.
The REST API Browser includes information about the field names and field types of the estimate record. It also includes information about the HTTP methods, request parameters, and operations available to this record. For details, see the REST API Browser’s customer category reference page.
For information about using the REST API Browser, see The REST API Browser.
Code Samples
The code samples in this section show common use cases for customer category items.
Creating a Customer Category
POST https://123456.suitetalk.api.netsuite.com/services/rest/record/v1/customercategory
{ "name": "Customer Category 1"
}
Updating a Customer Category
PATCH https://123456.suitetalk.api.netsuite.com/services/rest/record/v1/customercategory/{id}
{ "name": "Customer Category 2"
}