NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Customer → Transform to salesOrder

AI-generated

Summary

Transforms a NetSuite Customer into a Sales Order, creating a new sales order record linked to the specified customer.

Inputs

  • id (required) — Internal identifier of the source Customer.
  • isDebugMode — Whether to include full request and response info in the output.
  • authMethod — Authentication method; defaults to OAuth1.
  • tranDate — Posting date for the sales order; defaults to today per NetSuite.
  • tranId — Sales order number; NetSuite increments the largest by one, or can be set manually (maximum 45 characters).
  • currency — Currency for the sales order.
  • subsidiary — Subsidiary internal or external identifier.
  • shipAddress — Default shipping address from the customer record; custom addresses can be provided via the shippingAddress collection.
  • billAddress — Default billing address from the customer record; custom addresses can be provided via the billingAddress collection.
  • replace — Sublist names to replace all existing lines; names delimited by comma.
  • exchangeRate — Currency exchange rate for this transaction.
  • terms — Payment terms for the sales order.
  • shipComplete — If true, ships only when the order is complete, preventing partial shipments.
  • shipMethod — Shipping method internal or external identifier.
  • shipDate — Shipping date for the order.
  • toBeEmailed — If true, emails the sales order after creation.
  • toBePrinted — If true, saves the sales order to the print queue.
  • toBeFaxed — If true, faxes the sales order.
  • X_NetSuite_Idempotency_Key — Unique idempotency key for asynchronous requests (RFC 4122 UUID format). Only one request can be executed with every unique key.

Output shape

object

Returns the created Sales Order record. When isDebugMode is true, the output includes full request and response details.

Links

Discussion