NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Non Inventory Resale Item → Insert or update record

AI-generated

Summary

Update an existing Non Inventory Resale Item record identified by its external 'id' with specified fields, or create it if it does not exist, by sending a PUT request to the NetSuite REST API endpoint.

Inputs

  • id (required) — External identifier of the Non Inventory Resale Item record to update or create.
  • additionalFields — Optional collection of fields (like Allocation Price, Description, Vendor, Pricing details, Custom Fields, etc.) to set or update on the item.
  • customFields — Optional list of custom fields with name, type, and value to set or update on the item.
  • isDebugMode — Boolean flag to include full request and response information in the output for debugging.
  • Prefer — Optional server behavior preference, e.g., 'respond-async' to execute the request asynchronously.
  • X-NetSuite-Idempotency-Key — Optional UUID string to ensure idempotency for asynchronous requests.
  • X-NetSuite-PropertyNameValidation — Optional validation strictness for property names (Error, Warning, Ignore).
  • X-NetSuite-PropertyValueValidation — Optional validation strictness for property values (Error, Warning, Ignore).

Output shape

a single record representing the updated or created Non Inventory Resale Item.

Returns the full record data after creation or update. If Debug Mode is enabled, additional request and response details are included in the output. The operation requires the 'id' field and allows many additional optional fields to customize the item. Asynchronous execution is supported if 'Prefer' is set to 'respond-async'.

Discussion