shipment.txt 1.03 KB
# ERP出库单下发
curl --request POST \
  --url http://127.0.0.1:8889/wms/api/erp/v2/shipment \
  --header 'Accept: */*' \
  --header 'Accept-Encoding: gzip, deflate, br' \
  --header 'Connection: keep-alive' \
  --header 'Content-Type: application/json' \
  --header 'Cookie: JSESSIONID=b76dc718-fe80-4711-9b7a-3108e3a47c42' \
  --header 'User-Agent: PostmanRuntime-ApipostRuntime/1.1.0' \
  --data '{
    "orderno": "MISC20260601003",
    "orderType": "1",
    "supplierCode": "SUP001",
    "orderDate": "2026-06-01",
    "makerName": "ERP",
    "workDate": "2026-06-01",
    "urgentFlag": "0",
    "placeOfLoading": "CS0001",
    "items": [
        {
            "sku": "MAT001",
            "skuName": "测试物料",
            "poLine": "1",
            "skuSpec": "规格1",
            "lot": "LOT001",
            "lpn": "",
            "ctn": "",
            "barcode": "",
            "quantity": 10,
            "grossweight": 0,
            "netweight": 0,
            "uom": "PCS",
            "areaCode": "WH01"
        }
    ]
}'