NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Service Sale Item → Insert record

AI-generated

Summary

Insert a new Service Sale Item record into NetSuite using the REST API, specifying various optional and required fields to define the item's attributes and behavior.

Inputs

  • Additional Fields — Optional parameters to define properties of the Service Sale Item such as prices, descriptions, departments, classes, revenue recognition rules, and many other item-specific settings.
  • Custom Fields — Allows adding multiple custom fields to the Service Sale Item by specifying the field name, type, and value.
  • Debug Mode — If enabled, includes full request and response details in the output for debugging purposes.

Output shape

a JSON object representing the newly created Service Sale Item record, including any identifiers assigned by NetSuite.

The output may include the full HTTP request and response if Debug Mode is enabled. The operation accepts a wide range of optional fields to customize the item. The operation uses NetSuite REST API asynchronously if preference headers are set accordingly, and custom fields must be correctly specified by their names and types.

Examples

Example 1: Create a new Service Sale Item with mandatory name and a price.

User sets 'itemId' in Additional Fields and sets 'price' details, optionally enabling Debug Mode for troubleshooting.

Discussion