NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Purchase Order → Transform to vendorReturnAuthorization

AI-generated

Summary

Transform a Purchase Order into a Vendor Return Authorization in NetSuite by specifying the Purchase Order's internal ID and optional parameters to customize the returned Vendor Return Authorization record.

Inputs

  • id (required) — Internal identifier of the Purchase Order to transform.
  • isDebugMode — Whether to include full request and response info in the output.
  • authMethod — Authentication method to use for the request: OAuth1 or OAuth2.
  • additionalFields — Optional fields to specify details such as accounting book detail, billing address, class, currency, department, entity information, items or expenses details, location, memo, order status, transaction date, and other vendor return authorization properties. These fields allow customization of the transformation behavior and the created vendor return authorization.

Output shape

a single record representing the newly created Vendor Return Authorization transformed from the specified Purchase Order

The operation triggers a POST request to the NetSuite REST endpoint post /purchaseOrder/{id}/!transform/vendorReturnAuthorization and returns the resulting Vendor Return Authorization record. If Debug Mode is enabled, the output will include full request and response details. Parameters in Additional Fields support extensive customization of the created Vendor Return Authorization. Error details will be included if the operation fails.

Links

Discussion