NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Sales Order → Insert record

AI-generated

Summary

Insert a new Sales Order record into NetSuite by specifying all relevant fields and optional custom fields. Allows setting detailed sales order information such as billing, shipping, items, dates, and various configurations to create the record via NetSuite's REST API.

Inputs

  • Additional Fields — Optional collection of Sales Order fields including billing/shipping addresses, items, dates, subsidiaries, and other detailed properties to customize the new Sales Order.
  • Custom Fields — Optional list of custom fields to include in the Sales Order record, each with field name, type, and value.
  • Debug Mode — If enabled, includes full request and response data in the output for debugging purposes.

Output shape

a list containing the created Sales Order record details returned from NetSuite, optionally including request and response info if Debug Mode is enabled.

The output includes the Sales Order data as returned from NetSuite's API after insertion. When Debug Mode is enabled, additional request and response information is included in the metadata. Custom fields are merged into the request body if provided.

Examples

Example 1: Create a Sales Order with mandatory and optional details, including line items and billing information.

Set Additional Fields to define customer entity, item collections, billing address, order dates, totals, etc. Optionally add Custom Fields with specific field names and values. Enable Debug Mode to troubleshoot.

Discussion