NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Opportunity → Transform to salesOrder

AI-generated

Summary

Transform an existing Opportunity record into a Sales Order in NetSuite by specifying the Opportunity's internal identifier and optionally providing various sales order fields to customize the resulting record.

Inputs

  • Id (required) — The internal identifier of the Opportunity record to transform.
  • Debug Mode — Toggle to include full request and response details in the output for debugging purposes.
  • Additional Fields — Optional collection of fields to customize the Sales Order created from the Opportunity, including accounting details, billing and shipping addresses, items, custom forms, transaction dates, entity references, payment information, shipping options, and more. These fields allow detailed specification of the Sales Order properties during transformation.

Output shape

a single record representing the created Sales Order, or detailed request and response info if Debug Mode is enabled

The output includes the Sales Order record resulting from transforming the specified Opportunity. When Debug Mode is enabled, full request and response information from the NetSuite API call to transform the record is included to assist with troubleshooting.

Examples

Example 1: Transform Opportunity to Sales Order

Set 'Id' to the internal ID of the Opportunity to transform, optionally fill 'Additional Fields' to customize the sales order properties, toggle 'Debug Mode' if detailed info is needed.

Discussion