Customer Status
A customer status record exposes a customer status to REST web services. It describes a lead, prospect, or a customer's stage in the sales cycle.
For more information about customer statuses and how they function in the user interface, see Customer Statuses.
To access this record in NetSuite, go to Setup > Sales > Setup Tasks > Customer Statuses > New.
This record:
-
is not a subrecord
-
has no subrecords
The REST API Browser includes information about the field names and field types of the customer status record, and about the HTTP methods, request parameters, and operations available to this record. For details, see the REST API Browser’s customer status reference page.
For information about using the REST API Browser, see The REST API Browser
Record ID
The record ID for the customer status REST record is customerstatus.
Code Sample
The following samples show common use cases for a customer status record. The example ID is 6.
Retrieving Customer Status Metadata
GET https://demo123.suitetalk.api.snap.netsuite.com/services/rest/record/v1/metadata-catalog/customerstatus
Updating a Customer Status Using a PATCH Request
PATCH https://demo123.suitetalk.api.snap.netsuite.com/services/rest/record/v1/customerstatus/6
{ "probability": 99.0
}
Deleting a Customer Status Using a DELETE Request
DELETE https://demo123.suitetalk.api.snap.netsuite.com/services/rest/record/v1/customerstatus/6