NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Non Inventory Purchase Item → Insert or update record

AI-generated

Summary

Insert or update a Non Inventory Purchase Item record in NetSuite by specifying its external identifier and the fields to modify or add.

Inputs

  • id (required) — External identifier of the Non Inventory Purchase Item to update.
  • additionalFields — Optional properties of the item including allocation price, amortization details, billing accounts, vendor info, descriptions, currency, and other item-specific settings.
  • customFields — Custom field values to set on the item, with support for various data types like boolean, date/time, multi-select, number, select, and string.
  • isDebugMode — Flag to include full request and response details in the output for debugging.

Output shape

a single updated or inserted record object representing the Non Inventory Purchase Item.

The output optionally includes full request and response info if Debug Mode is enabled. The operation updates the record by its external ID, replacing fields as specified. Error or validation behavior depends on the NetSuite API and request headers set via additional fields.

Examples

Example 1: Update a Non Inventory Purchase Item by external ID with new purchase price and description.

Set 'id' to the item's external ID, specify 'cost' in additionalFields for purchase price, and 'description' for the item description.

Discussion