Global API
...
Requests
Sales Order

Create

3min

To create a Sales Order in NetSuite, use action as "createSalesOrder" and pass the Sales Order data in the requestJSON under "salesOrders".

Note: You can only create one record at a time.

The following is an example of creating Sales Order, where we are setting every possible field (See for Sales Order the available fields). The response will return the response back from NetSuite, which includes the new NetSuite Sales Order Id (internalId), plus the newly created Salesforce Sales Order Id (salesforceID)

Request
Response


Pass Billing and Shipping Addresses

When passing an existing NetSuite Customer address as the billing/shipping address for a Sales Order, refer to the sample code below.

Request


When passing a custom billing/shipping address specific to Sales Orders only, you can refer to the sample code provided below.

Request




Updated 29 May 2024
Doc contributor
Doc contributor
Doc contributor
Doc contributor
Doc contributor
Did this page help you?