NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Item Group → Insert record

AI-generated

Summary

Insert a new Item Group record into the NetSuite system using the REST API, optionally including detailed request and response information for debugging.

Inputs

  • Authentication Method - Choose OAuth1 or OAuth2 authentication method to use for the API request. (required) — Method of authenticating the API request to NetSuite.
  • Additional Fields — Various optional fields to define attributes of the Item Group record, such as class, custom form, date created, department, description, display name, external ID, hierarchy versions, inactive flag, inclusion options, item name/number, item type, location, members of the group, parent group, printing options, subsidiary, translations, UPC code, vendor name/code, and various others.
  • Custom Fields — User-defined custom fields associated with the Item Group record, supporting multiple field types including boolean, date/time, multi-select, number, select, and string.
  • Debug Mode — Toggle to include full HTTP request and response data in the operation output for debugging purposes.
  • X - Net Suite - Idempotency - Key — Unique UUID string used to ensure idempotent asynchronous requests are executed only once.
  • X - Net Suite - Property Name Validation — Controls the strictness of property name validation with options: Error, Warning, or Ignore.
  • X - Net Suite - Property Value Validation — Controls the strictness of property value validation with options: Error, Warning, or Ignore.
  • Prefer — Request server behavior preference, e.g., 'respond-async' to execute insert asynchronously.

Output shape

a JSON object representing the inserted Item Group record as returned from the NetSuite REST API, including the newly created record's details and identifiers.

If Debug Mode is enabled, the output includes detailed HTTP request and response information. Validation strictness and idempotency keys affect execution behavior. Asynchronous execution returns appropriate preference headers and response.

Examples

Example 1: Create an Item Group named 'Office Supplies' with a description, inactive status false, and assign it to a class by internal identifier, using OAuth2 authentication and debug mode enabled.

Set Authentication Method to OAuth2; fill 'itemId' and 'description' in Additional Fields; set 'isInactive' to false; supply Class internal ID under Additional Fields; enable Debug Mode.

Links

Discussion