Product Purchase

  • 新增入库清单

Request

  • Path: wms/purchaseorder/create
  • Full Url: http://api.q9610.com/oms/wms/purchaseorder/create
  • Method: POST
  • Header:
    • Authorization: Basic c2FiZXI6c2FiZXJfc2VjcmV0
    • Blade-Auth: access_token
  • Request body example:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"erpPurchaseOrderNo": "CA201939381237122",
"shipNo": "YT182381271121,YT182381271122",
"asnTime": "2021-12-23 12:00:00",
"purchaseType": "transfer",
"warehouseId": "WH001",
"caseNumbers": 10,
"remark": "备注",
"details": [
{
"batchNo": "2021-126162",
"produceDate": "2021-12-12 00:00:00",
"sku": "LUY201230664BU",
"quantity": "2"
}
]
}

Request Parameters

  • Possible value of {purchaseType}:
    • 采购类型
    • transfer 调拨到仁川仓
    • cgf 备货到威海平台仓
    • lcl_pickup 拼箱自提
    • platform 备货到平台仓
    • incheon 备货到仁川仓
    • weihai 备货到威海仓

Response

  • Response body example:
1
2
3
4
5
6
7
8
9
10
11
12
13
{
"code": 200,
"success": true,
"data": {
"authCode": "XILOCE",
"warehouseId": "KRRC01",
"headerCode": "K000001-0001",
"headerId": "xxx",
"purchaseType": "3",
"erpPurchaseOrderNo": "CA201939381237122"
},
"msg": "操作成功"
}
  • Value of {headerId}:

    • 港宝订单唯一编号,后续打印唛头、装箱单、更新快递单号都需要
  • Value of {erpPurchaseOrderNo}:

    • 采购批次编号
  • Value of {shipNo}:

    • 国内物流单号,多个逗号分割
  • Possible value of {warehouseId}:

    • 入库仓库
    • WH001 港宝威海仓
    • SZLJ01 深圳良基仓
    • KRRC01 韩国仁川仓
    • COUPANG 韩国平台仓
    • CGF 威海平台仓
  • Value of {asnTime}:

    • 预计到货时间
  • Value of {caseNumbers}:

    • 件数
  • Value of {produceDate}:

    • 生产日期
  • Value of {quantity}:

    • 采购数量