Markup Item

A markup item record exposes a markup item to REST web services. To access this record in NetSuite, go to Lists > Accounting > Items > New > Markup.

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

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

Record ID

The record ID for the markup item REST record is markupitem.

Code Samples

These samples show common use cases for markup items. The example ID is 6.

Creating a Markup Item Using a POST Request

              {
   "itemId": "New Markup",
   "itemType": {
      "id": "Markup",
      "refName": "Markup"
   },
   "nonPosting": true,
   "rate": 60
} 

            

Retrieving a Markup Item Using a GET Request

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

            

Updating a Markup Item Using a PATCH Request

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

{
   "itemId": "Newer Markup Item",
   "rate": 80
} 

            

Deleting a Markup Item Using a DELETE Request

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

            

Related Topics

General Notices