How to create a Transfer Order in NetSuite through REST API call

We can create a Transfer Order in NetSuite through REST API request using the values: subsidiary, location, transferLocation, department, and item details. We can also provide a memo value if needed.

Request Type: HTTPS POST

Request URL: <https://<NetSuite> App Domain>.suitetalk.api.netsuite.com/services/rest/record/v1/transferOrder

Headers: Content-Type: application/json

Body:

{
  "subsidiary": {
    "id": "<SUBSIDIARY INTERNAL ID>"
  },
  "location": {
    "id": "<LOCATION INTERNAL ID>"
  },
  "transferLocation": {
    "id": "<TRANSFER LOCATION INTERNAL ID>"
  },
  "department": {
    "id": "<DEPARTMENT INTERNAL ID>"
  },
  "item": {
    "items": [
      {
        "item": {
          "id": "<ITEM INTERNAL ID>"
        },
        "adjustQtyBy": <QUANTITY>
      }
    ]
  },
  "memo": "<MEMO TEXT>"
}

Response:

You will get the internal ID of the created record in the response header ‘location’

Location : https://#####-sb2.suitetalk.api.netsuite.com/services/rest/record/v1/transferOrder/<INTERNAL_ID>

Leave a comment

Your email address will not be published. Required fields are marked *