younifyd
Menu

Post Salesorder

Create a new sales order

POST/salesOrder

Use it in a workflow

  1. Add a step and choose the NetSuite connector.
  2. Pick the Post Salesorder action (under NetSuite REST API).
  3. Fill in the fields below, then reference the result from later steps as {{postSalesorder.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

idstring

The internal ID of the sales order

tranDatestring (date)

The transaction date of the sales order

entityobject
idstring

The internal ID of the customer

refNamestring

The display name of the customer

itemsarray<object>

The list of items in the sales order

itemstring

The internal ID of the item

quantitynumber (double)

The quantity of the item

ratenumber (double)

The rate of the item

amountnumber (double)

The total amount for this item

totalnumber (double)

The total amount of the sales order

json
{
  "id": "string",
  "tranDate": "2025-01-01",
  "entity": {
    "id": "string",
    "refName": "string"
  },
  "items": [
    {
      "item": "string",
      "quantity": 0,
      "rate": 0,
      "amount": 0
    }
  ],
  "total": 0
}

Response

Returns 201 with an object. Read it in later steps with {{postSalesorder.response.data.<field>}}.

idstring

The internal ID of the sales order

tranDatestring (date)

The transaction date of the sales order

entityobject
idstring

The internal ID of the customer

refNamestring

The display name of the customer

itemsarray<object>

The list of items in the sales order

itemstring

The internal ID of the item

quantitynumber (double)

The quantity of the item

ratenumber (double)

The rate of the item

amountnumber (double)

The total amount for this item

totalnumber (double)

The total amount of the sales order

json
{
  "id": "string",
  "tranDate": "2025-01-01",
  "entity": {
    "id": "string",
    "refName": "string"
  },
  "items": [
    {
      "item": "string",
      "quantity": 0,
      "rate": 0,
      "amount": 0
    }
  ],
  "total": 0
}

Need more? See the NetSuite guide for connection setup and behaviour shared by every action.

Was this page helpful?