NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Non Inventory Resale Item → Insert or update record

AI-generated

Summary

Insert or update a Non Inventory Resale Item record in NetSuite by specifying its external identifier and providing the relevant fields and custom fields to define or modify the item.

Inputs

  • id (required) — External identifier of the Non Inventory Resale Item to insert or update.
  • authMethod — Authentication method to use: OAuth1 or OAuth2.
  • additionalFields — Optional fields to set on the item, including financial accounts, descriptions, pricing, vendor info, classifications, and flags such as inactive, online display, revenue management, and others.
  • customFields — Custom fields to include in the item record, supporting various data types like boolean, dateTime, number, string, and select options.
  • isDebugMode — Whether to include full request and response information in the node output for debugging purposes.
  • Prefer — Specify if the request should be executed asynchronously ('respond-async') or not.
  • X-NetSuite-Idempotency-Key — A unique idempotency key (UUID string) to ensure the asynchronous request is executed only once.
  • X-NetSuite-PropertyNameValidation — Sets strictness of property name validation (Error, Warning, Ignore).
  • X-NetSuite-PropertyValueValidation — Sets strictness of property value validation (Error, Warning, Ignore).

Output shape

a single updated or inserted Non Inventory Resale Item record as returned from the NetSuite API, including optionally debug information

The operation requires the 'id' parameter to identify the item. The update or insert request replaces the existing record if found, or creates a new one if not. Additional fields and custom fields may be provided to fully define the record. If 'isDebugMode' is enabled, detailed HTTP request and response data are included in the output. Asynchronous execution can be requested with the 'Prefer' parameter and idempotency key ensures single execution per key.

Examples

Example 1: Insert a new Non Inventory Resale Item with external ID 'item123', setting name and description fields.

Set 'id' to 'item123', fill 'additionalFields' with item name, description, and other desired properties.

Example 2: Update an existing Non Inventory Resale Item specifying custom fields and pricing.

Provide 'id' of the existing item, update 'additionalFields' and 'customFields' with the desired changes.

Links

Discussion