NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Location → Insert record

AI-generated

Summary

Insert a new Location record into NetSuite using the REST API, specifying required and optional fields such as name, address details, subsidiary, and custom fields.

Inputs

  • name (required) — Name of the location to insert, visible in location lists on records and transactions.
  • additionalFields — Optional object containing various fields for the Location, including address, coordinates, subsidiary, time zone, location type, external/internal IDs, phone, and others.
  • customFields — An array of custom fields, each with field name, type, and value to be included in the Location record.
  • authMethod — Authentication method to use with NetSuite, either OAuth1 or OAuth2 (default is OAuth1).
  • isDebugMode — Boolean flag to include full request and response information in the output for debugging purposes.

Output shape

a single JSON object representing the inserted Location record as returned by the NetSuite REST API

The output includes the inserted Location data; if Debug Mode is enabled, it also includes detailed request and response information. If an error occurs, error details are included in the output.

Links

Discussion