NetSuite Record
本文档记录一些常用的 record 请求的示例
查询 PO 列表
GET /api/netsuite/record/purchaseorder?offset=0&limit=10 HTTP/1.1
Host: bsg-wm-api.icerun.dev
Authorization: Bearer 11b8556a-873f-4a2c-a5a3-0fbae5cd5b03
查询 PO 详情
GET /api/netsuite/record/purchaseorder/741006 HTTP/1.1
Host: bsg-wm-api.icerun.dev
Authorization: Bearer 11b8556a-873f-4a2c-a5a3-0fbae5cd5b03
PO 创建 IR
POST /api/netsuite/record/purchaseorder/741007/!transform/itemreceipt HTTP/1.1
Host: bsg-wm-api.icerun.dev
Content-Type: application/json
Authorization: Bearer 11b8556a-873f-4a2c-a5a3-0fbae5cd5b03
{
"param": {
"item": {
"items": [
{
"orderLine": 2,
"itemreceive": false
},
{
"orderLine": 3,
"itemreceive": false
},
{
"orderLine": 4,
"itemreceive": true,
"quantity": 1,
"inventorydetail": {
"inventoryassignment": {
"items": [
{
"receiptInventoryNumber": "L1",
"quantity": 1
}
]
}
}
}
]
}
}
}