NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Vendor Category → Insert or update record

AI-generated

Summary

Insert or update a Vendor Category record in NetSuite by specifying its external identifier and optionally other fields including custom fields and additional preferences.

Inputs

  • id (required) — External identifier of the Vendor Category record to update or insert.
  • additionalFields — Optional collection of additional fields and query preferences such as External ID, Inactive status, Internal ID, Last Modified Date, Vendor name, and validation settings.
  • customFields — Multiple custom fields to set on the Vendor Category record with specified field name, type, and value.
  • isDebugMode — Flag to include full request and response information in the output for debugging purposes.

Output shape

a single JSON object representing the created or updated Vendor Category record, including any debug information if enabled

The operation outputs the full record data returned by the NetSuite REST API. If Debug Mode is enabled, the full request and response details are included in the output. No pagination is involved since this operates on single records by external ID.

Examples

Example 1: Insert a new Vendor Category with external ID and name

Set 'id' with the external ID of the category, specify the 'name' and other additional fields as needed.

Example 2: Update an existing Vendor Category's inactive status

Provide the external ID in 'id', and set the 'Inactive' boolean field in Additional Fields to true.

Discussion