We can get details of a transfer order in NetSuite through a REST API call:
Request Type: HTTPS GET
Request URL: <NetSuite App Domain>.suitetalk.api.netsuite.com/services/rest/record/v1/transferOrder/<Transfer Order Internal ID>
Use parameter ‘?expandSubResources=true’ with the request to view all the related record details in the response.
Make sure to add proper authentication values as well
e.g:
Request: GET https://#####-sb2.suitetalk.api.netsuite.com/services/rest/record/v1/transferOrder/7350105?expandSubResources=true
Response:
{
"links": [
{
"rel": "self",
"href": "https://#####-sb2.suitetalk.api.netsuite.com/services/rest/record/v1/transferOrder/7350105"
}
],
"canBeUnapproved": false,
"createdDate": "2019-01-30T08:05:00Z",
"currency": {
"links": [
{
"rel": "self",
"href": "https://#####-sb2.suitetalk.api.netsuite.com/services/rest/record/v1/currency/11"
}
],
"id": "11",
"refName": "Indian Rupee"
},
"custbody22": false,
"custbody23": false,
"custbody_dsv_order_complete": false,
"custbody_exp_to_marketplace": false,
"custbody_exp_to_vsr_west": false,
"custbody_exported_3pl": false,
"custbody_exported_to_sdr_canada": false,
"custbody_fn_trn_mass_del": false,
"custbody_iit_isindiasubsidiary": true,
"custbody_iit_mode_of_transport": {
"links": [
{
"rel": "self",
"href": "https://#####-sb2.suitetalk.api.netsuite.com/services/rest/record/v1/customlist_iit_mode_of_transport_list/1"
}
],
"id": "1",
"refName": "By Road"
},
"custbody_iit_pos_invoice": {
"links": [
{
"rel": "self",
"href": "https://#####-sb2.suitetalk.api.netsuite.com/services/rest/record/v1/customrecord_iit_state/5"
}
],
"id": "5",
"refName": "Haryana"
},
"custbody_iit_to_gst": false,
"custbody_nondeductible_ref_tran": {
"links": [
{
"rel": "self",
"href": "https://#####-sb2.suitetalk.api.netsuite.com/services/rest/record/v1/transferorder/7350105/custbody_nondeductible_ref_tran"
}
]
},
"custbody_totalquantity_gt": -1,
"custbodyexport_to_dsv": false,
"custbodyexported_to_miq": false,
"customForm": {
"id": "137",
"refName": "IIT Transfer Order"
},
"department": {
"links": [
{
"rel": "self",
"href": "https://#####-sb2.suitetalk.api.netsuite.com/services/rest/record/v1/department/917"
}
],
"id": "917",
"refName": "Stores : Region : North : 1105 Galleria"
},
"employee": {
"links": [
{
"rel": "self",
"href": "https://#####-sb2.suitetalk.api.netsuite.com/services/rest/record/v1/employee/5735"
}
],
"id": "5735",
"refName": "706994 Store Manager 1106"
},
"exchangeRate": 1.0,
"firmed": true,
"id": "7350105",
"incoTerm": {
"links": [],
"id": "2",
"refName": "EXW"
},
"item": {
"links": [
{
"rel": "self",
"href": "https://#####-sb2.suitetalk.api.netsuite.com/services/rest/record/v1/transferorder/7350105/item"
}
]
},
"lastModifiedDate": "2019-01-30T09:34:00Z",
"location": {
"links": [
{
"rel": "self",
"href": "https://#####-sb2.suitetalk.api.netsuite.com/services/rest/record/v1/location/392"
}
],
"id": "392",
"refName": "1106 Ambience"
},
"memo": "customer requirment",
"orderStatus": {
"id": "G",
"refName": "G"
},
"prevDate": "2019-01-30",
"shipAddress": "Forever New Apparels Pvt. Ltd.rnShop No.- Sg-13rnDlf Galleria TowersrnDlf Phase-4rnGurgaon HR rnIndia",
"shipComplete": false,
"shipDate": "2019-01-30",
"shipIsResidential": false,
"shipOverride": false,
"shippingAddress": {
"links": [
{
"rel": "self",
"href": "https://#####-sb2.suitetalk.api.netsuite.com/services/rest/record/v1/transferorder/7350105/shippingAddress"
}
]
},
"shippingAddress_text": "Forever New Apparels Pvt. Ltd.rnShop No.- SG-11,Dlf Galleria,DLF Phase 4rnGurgaon HR 122009rnIndia",
"shippingCostOverridden": false,
"status": {
"id": "Received",
"refName": "Received"
},
"subsidiary": {
"links": [
{
"rel": "self",
"href": "https://#####-sb2.suitetalk.api.netsuite.com/services/rest/record/v1/subsidiary/7"
}
],
"id": "7",
"refName": "FN Apparel"
},
"subtotal": 0.01,
"total": 0.01,
"tranDate": "2019-01-30",
"tranId": "TO10002",
"transferLocation": {
"links": [
{
"rel": "self",
"href": "https://######-sb2.suitetalk.api.netsuite.com/services/rest/record/v1/location/391"
}
],
"id": "391",
"refName": "1105 Galleria"
},
"useItemCostAsTransferCost": true
}