NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Inventory Item → Insert record

AI-generated

Summary

Create a new inventory item record in NetSuite.

Inputs

  • itemId (required) — The name or number of the new inventory item (this field is required by NetSuite).
  • description — Short description of the item to appear on sales forms.
  • price — Pricing information for the item. Use the nested structure to set unit price, currency, and quantity breakpoints.
  • cost — Purchase price used as the item cost.
  • quantityAvailable — Initial quantity of the item in inventory. If omitted, quantity is assumed 0.
  • location — Location reference for the item, specified by internal or external ID.
  • customFields — Array of custom fields to be added to the record. Each entry must specify the field name, type and value.
  • additionalFields — Collection of optional NetSuite inventory‑item fields such as VSOE price, cost accounting settings, and revenue‑recognition options.
  • isDebugMode — When set to true, returns the raw request and response objects for debugging.

Output shape

the newly created Inventory Item record, including all fields returned by NetSuite.

The output will contain the full JSON representation of the created record. If X‑NetSuite‑Idempotency‑Key is provided, the request is idempotent. Debug mode will add 'request' and 'response' keys to the output.

Examples

Example 1: Create a basic inventory item with name, description, and price

Set operation to “Insert record”, resource to “Inventory Item”, provide itemId, description, and price (unit price 10, currency USD). Leave other fields blank. Execute.

Example 2: Add custom field and override cost

Enter itemId, set cost to 5. Add a custom field 'MfgBatch' with value 'B1234'. Enable debug mode to see request/response.

Example 3: Create item with inventory tracking and preferred stock level

Set itemId, description, cost, quantityAvailable, location, and in additionalFields set preferredStockLevel to 50. Execute.

Discussion