XCMG NS API


createItem

Brief Description
  • Item interface
Request URL
  • https://6409627-sb2.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=632&deploy=1
Request Method
  • POST
Request Parameter Description
Parameter Required Type Description
displayName True String product name
baseUnit True String Main basic unit
itemId True String Item number of spare parts
subsidiary True String subsidiary company
Samples
    {
    "displayName" : "test",
    "baseUnit" : "PCS",
    "subsidiary" : "001",
    "itemId" : "test",
    }
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": "{\"name\":\"FORMAT_ERROR\",\"meesage\":\"报文格式错误,应为对象\"}",
    "data": []
    }
    // Success
    {
        "success": true,
        "message": "",
        "data": [{
            "internalid" :3995
        }]
    }
Memo

页面列表

ITEM_HTML