NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Subtotal Item → Insert or update record

AI-generated

Summary

Insert or update a Subtotal Item record in NetSuite by specifying its external identifier and desired fields.

Inputs

  • Id (required) — External identifier of the Subtotal Item to insert or update.
  • Additional Fields — Optional fields to set or update on the Subtotal Item, including custom form, description, display name, external ID, inactive status, subsidiary info, translations, and validation preferences.
  • Custom Fields — List of custom fields to include or update on the Subtotal Item, with specified field names, types, and values.
  • Debug Mode — Whether to include full request and response information in the node output for debugging purposes.

Output shape

a single record representing the inserted or updated Subtotal Item, optionally including full request and response info if Debug Mode is enabled.

The operation uses the specified Id to identify the record. If the record exists, it is updated; otherwise, it is inserted. Custom fields and additional fields are applied as provided. Response format depends on the debug mode setting.

Examples

Example 1: Insert a new Subtotal Item with minimal fields

Set 'Id' to a new unique external identifier and optionally provide required minimum fields in 'Additional Fields'. Disable Debug Mode.

Example 2: Update an existing Subtotal Item to set it inactive and add description

Provide the existing record's 'Id', set 'Inactive' to true and fill in 'Description' under Additional Fields. Enable Debug Mode to review request details.

Discussion