NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Cash Sale → Transform to returnAuthorization

AI-generated

Summary

Transforms a Cash Sale identified by the required 'id' field into a Return Authorization using the selected authentication method (OAuth1/OAuth2). Success requires the Cash Sale internal identifier and valid authentication; optional additional fields may populate Return Authorization details.

Inputs

  • id (required) — Internal identifier of the Cash Sale to transform.
  • authMethod — Authentication method, default 'oauth1'. Choose OAuth1 or OAuth2.
  • isDebugMode — Boolean; if true, includes full request/response info in output.

Output shape

Returns a Return Authorization record; outputAuthCode field may be populated upon successful transformation.

The operation maps Cash Sale fields to Return Authorization fields via the NetSuite REST API. The 'id' field is mandatory; omitting it or providing invalid authentication will cause the transformation to fail.

Links

Discussion