NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Non Inventory Purchase Item → Insert record

AI-generated

Summary

Insert a new Non Inventory Purchase Item record into NetSuite using the REST API, specifying standard and additional fields as needed.

Inputs

  • additionalFields — Optional collection of various fields to define the Non Inventory Purchase Item, such as Item Name/Number, Description, Purchase Price, Expense Account, Subsidiary, and many more detailed attributes including custom forms, units, vendors, translations, and others.
  • customFields — Optional list of custom fields to include with the item record, specifying field name, type, and value.
  • isDebugMode — Boolean to include full request and response information in output for debugging.

Output shape

a JSON object representing the created Non Inventory Purchase Item record, including any identifiers NetSuite returns.

Output may include the full request and response details if Debug Mode is enabled. The exact returned fields and structure depend on the NetSuite API response for the inserted item.

Examples

Example 1: Create a Non Inventory Purchase Item with basic details

Set itemId (Item Name/Number), description, cost (purchase price), and subsidiary ID in Additional Fields to insert the item.

Example 2: Insert item with custom fields

Provide customFields collection with appropriate field names and values alongside standard fields to create a detailed item record in NetSuite.

Discussion