NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Opportunity → Transform to cashSale

AI-generated

Summary

Transform an Opportunity record into a Cash Sale in NetSuite by specifying the Opportunity's internal ID and optional additional transaction details.

Inputs

  • Id (required) — Internal identifier of the Opportunity to transform.
  • Authentication Method — Method of authentication to use, either OAuth1 or OAuth2.
  • Additional Fields — Optional fields to configure the resulting Cash Sale, such as billing and shipping addresses, payment information, transaction dates, discounts, currency, and subsidiary details.
  • Debug Mode — Enable to include full request and response information in the output for troubleshooting.

Output shape

a single record representing the created Cash Sale transaction, including any response metadata and optional debug information if enabled.

The output includes the transformed Cash Sale details as returned by the NetSuite REST API. When Debug Mode is enabled, additional HTTP request and response data are appended to aid debugging. Errors return standard error information.

Examples

Example 1: Transform an existing Opportunity with ID 123 into a Cash Sale using OAuth2 authentication and specifying a custom memo.

Set 'Id' to 123, select 'OAuth2' for Authentication Method, and add a 'memo' field under Additional Fields with the desired text.

Links

Discussion