Product Purchase Details

  • 查询入库清单

Request

  • Path: oms/product/purchaseOrder/details
  • Method: POST
  • Header:
    • Authorization: Basic c2FiZXI6c2FiZXJfc2VjcmV0
    • Blade-Auth: access_token
  • Request body example:
1
2
3
{
"headerCode": "PO_1640619165507"
}

Response

  • Response body example:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"code": 200,
"success": true,
"data": [
{
"amount": "4.00",
"stockAmount": "0.00",
"headerCode": "PO_1640619165507",
"sku": "test-herman",
"erpPurchaseOrderNo": "TTTT0001",
"status": 0
},
{
"amount": "14.00",
"stockAmount": "2.00",
"headerCode": "PO_1640619165507",
"sku": "test-herman-2",
"erpPurchaseOrderNo": "TTTT0001",
"status": 1
}
],
"msg": "操作成功"
}
  • Value of {headerCode}:

    • 采购订单编号,入库清单返回的主键
  • Value of {status}:

    • 0 未入库
    • 1 部分入库
    • 2 全部入库
  • Value of {amount}:

    • 采购数量
  • Value of {stockAmount}:

    • 已入库的数量