Price Level

A price level record exposes a price level to REST web services.

To access this record in NetSuite, go to Setup > Accounting > Accounting Lists > New > Price Level.

The REST API Browser includes information about the field names and field types of the price level 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 priceLevel reference page.

For information about using the REST API Browser, see The REST API Browser.

Record ID

The record ID for a price level REST record is pricelevel.

Code Samples

The following samples show common use cases for price levels. The example ID is 6.

Creating a Price Level Using a POST Request

              POST: {{REST_SERVICES}}/record/v1/pricelevel

{
   "name": "Test Price Level",
   "discountPct": -15.0,
   "isInactive": false,
   "isOnline": false,
   "updateExistingPrices": false
} 

            

Retrieving a Price Level Using a GET Request

              GET: {{REST_SERVICES}}/record/v1/pricelevel/6 

            

Updating a Price Level Using a PATCH Request

              PATCH: {{REST_SERVICES}}/record/v1/pricelevel/6

{
   "discountPct": -20.0,
   "isInactive": false,
   "isOnline": true,
   "name": "Toolbox Price Level",
} 

            

Deleting a Price Level Using a DELETE Request

              DELETE: {{REST_SERVICES}}/record/v1/pricelevel/6 

            

Related Topics

General Notices