NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Sales Order → Transform to returnAuthorization

AI-generated

Summary

Transform a Sales Order identified by its internal ID into a Return Authorization record in NetSuite, optionally specifying additional Return Authorization fields and enabling debug mode to include full request and response details.

Inputs

  • Id (required) — Internal identifier of the Sales Order to transform.
  • Additional Fields — Optional fields to set on the Return Authorization record, such as billing and shipping addresses, currency, date, items, messages, and other transaction details.
  • Debug Mode — Whether to include full request and response information in the operation output.

Output shape

a single record representing the created Return Authorization, or detailed debug information if debug mode is enabled.

The output includes the created Return Authorization data from NetSuite. If Debug Mode is enabled, the output also contains full request and response details. Errors or validation issues will be returned as operation error messages.

Discussion