NetSuite icon

NetSuite

Interact with NetSuite via REST API, SuiteQL, and Restlets using OAuth 2.0 Client Credentials

Actions11

Record → Create

AI-generated

Summary

Create a new record of a specified type in NetSuite by providing the record type and a JSON object with the field values to set.

Inputs

  • Record Type (required) — Select the type of record to create from the list or enter a custom ID.
  • Fields (required) — Provide a JSON object representing the fields and their values to set on the new record.

Output shape

a single JSON object representing the created record, including its assigned internal ID and fields as returned by NetSuite

The returned data reflects the response from NetSuite's REST API for record creation. If multiple input items are processed, an array of JSON objects is returned, each corresponding to one created record.

Examples

Example 1: Create a new customer record with specified company name and email

Set 'Record Type' to 'customer' and provide JSON Fields: {"companyname": "Acme Corp", "email": "contact@acme.com"}

Links

Discussion