Brief Description
  • Create or update or delete inventory adjustment data.
Request URL
  • https://6409627-sb2.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=646&deploy=1
Request Method
  • POST
Request Parameter Description
Parameter Required Type Description field leval
operateType True String Operate type, value: create,update,delete 1
invAdjustType True String Inventory Adjustment Type 1
docNum True String The document number of the Transaction 1
date True String The Posting date of the Transaction,format of "2022/11/23" 1
customer False String A customer who receives goods or services 1
account True String account of transaction 1
subsidiary True String Subsidiary 1
department False String Department 1
fromLocation False String Location of Transaction 1
memo Falae String Memos for the transaction 1
lines True Array line property name
item True String Transaction goods or service 2
quantity True Number The quantity of goods in the bill or invoice 2
unit False String Unit 2
unitPrice False Number Unit price of goods or service 2
location True String Transaction line location 2
department False String Transaction line Department 2
memo False String Transaction line memo 2
fromBin False String Bin of transaction line 2
serialNumber True String batch/serial number 2
    "invAdjustType": "",
    "docNum": "",
    "date": "2022/11/23",
    "customer": "test",
    "account": "",
    "subsidiary": "",
    "department": "",
    "fromLocation": "",
    "memo": "",
    "lines": [{
        "item": "",
        "quantity": "",
        "unit": "",
        "unitPrice": "",
        "location": "",
        "department": "",
        "memo": "",
        "fromBin": "",
        "serialNumber": ""
Response Parameter Description
Parameter Type Description
success Boolean true:success,false:failed
message String errors message
data Array Data
Return Samples
    // Error
    "success": false,
    "message": "docNum must be filled!",
    "data": []
    // Success
        "success": true,
        "message": "",
        "data": [{
            "internalid" :3995